diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-06-07 12:34:57 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-06-07 12:34:57 +0200 |
commit | d22b78be7b2b95ba028c6584e9ee5abb69a375cb (patch) | |
tree | 039da0ef61265cda4512279d36aea46c4670a715 /package/pcsc-lite/files/pcscd.init | |
parent | 702e216210d58f1301c80d4e55af5d29f813eb19 (diff) | |
parent | 2e2eee9052d2c487d7114818ca446c370dba7f49 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/pcsc-lite/files/pcscd.init')
-rw-r--r-- | package/pcsc-lite/files/pcscd.init | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/package/pcsc-lite/files/pcscd.init b/package/pcsc-lite/files/pcscd.init new file mode 100644 index 000000000..557762eca --- /dev/null +++ b/package/pcsc-lite/files/pcscd.init @@ -0,0 +1,27 @@ +#!/bin/sh +#PKG pcscd +#INIT 80 + +. /etc/rc.conf + +case $1 in +autostop) ;; +autostart) + test x"${pcscd:-NO}" = x"NO" && exit 0 + exec sh $0 start + ;; +start) + pcscd + ;; +stop) + pkill pcscd + ;; +restart) + sh $0 stop + sh $0 start + ;; +*) + echo "usage: $0 {start | stop | restart}" + ;; +esac +exit $? |