diff options
Diffstat (limited to 'meta-oe/recipes-support/pcsc-lite/files/pcscd.init')
| -rw-r--r-- | meta-oe/recipes-support/pcsc-lite/files/pcscd.init | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/meta-oe/recipes-support/pcsc-lite/files/pcscd.init b/meta-oe/recipes-support/pcsc-lite/files/pcscd.init deleted file mode 100644 index 92385ab196..0000000000 --- a/meta-oe/recipes-support/pcsc-lite/files/pcscd.init +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | DAEMON=/usr/sbin/pcscd | ||
| 3 | NAME=pcscd | ||
| 4 | DESC="PCSC Daemon" | ||
| 5 | PIDFILE=/var/run/pcscd/pcscd.pid | ||
| 6 | ARGS="" | ||
| 7 | |||
| 8 | test -f $DAEMON || exit 0 | ||
| 9 | |||
| 10 | case "$1" in | ||
| 11 | start) | ||
| 12 | echo -n "Starting $DESC: $NAME" | ||
| 13 | start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $ARGS | ||
| 14 | echo "." | ||
| 15 | ;; | ||
| 16 | stop) | ||
| 17 | echo -n "Stopping $DESC: $NAME" | ||
| 18 | start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON | ||
| 19 | echo "." | ||
| 20 | ;; | ||
| 21 | restart) | ||
| 22 | $0 stop | ||
| 23 | sleep 1 | ||
| 24 | $0 start | ||
| 25 | ;; | ||
| 26 | *) | ||
| 27 | echo "Usage: $0 {start|stop|restart}" | ||
| 28 | exit 1 | ||
| 29 | ;; | ||
| 30 | esac | ||
| 31 | |||
| 32 | exit 0 | ||
