@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= openct
PKG_VERSION:= 0.6.20
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= a1da3358ab798f1cb9232f1dbababc21
PKG_DESCR:= drivers for smart card readers
PKG_SECTION:= crypto
@@ -0,0 +1,28 @@
+#!/bin/sh
+#PKG openct
+#INIT 60
+
+. /etc/rc.conf
+case $1 in
+autostop) ;;
+autostart)
+ test x"${openct:-NO}" = x"NO" && exit 0
+ exec sh $0 start
+ ;;
+start)
+ test -d /var/run/openct || mkdir -p /var/run/openct
+ /usr/sbin/openct-control init
+stop)
+ /usr/sbin/openct-control shutdown
+restart)
+ sh $0 stop
+ sh $0 start
+*)
+ echo "usage: $0 {start | stop | restart}"
+ exit 1
+esac
+exit $?
@@ -0,0 +1,3 @@
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf openct openct NO