summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/pcsc-lite/files/pcscd.init
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/pcsc-lite/files/pcscd.init')
-rw-r--r--meta-oe/recipes-support/pcsc-lite/files/pcscd.init32
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
2DAEMON=/usr/sbin/pcscd
3NAME=pcscd
4DESC="PCSC Daemon"
5PIDFILE=/var/run/pcscd/pcscd.pid
6ARGS=""
7
8test -f $DAEMON || exit 0
9
10case "$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 ;;
30esac
31
32exit 0