wok diff pcsc-lite/stuff/init.d/pcscd @ rev 17980
Add pavucontrol
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sun Apr 19 11:47:11 2015 -0400 (2015-04-19) |
parents | e509bd507650 |
children | 7f188676b59c |
line diff
1.1 --- a/pcsc-lite/stuff/init.d/pcscd Wed Nov 21 20:44:31 2012 +0000 1.2 +++ b/pcsc-lite/stuff/init.d/pcscd Sun Apr 19 11:47:11 2015 -0400 1.3 @@ -8,7 +8,7 @@ 1.4 1.5 NAME=Pcscd 1.6 DESC="PC/SC smart card daemon" 1.7 -DAEMON=/usr/bin/pcscd 1.8 +DAEMON=/usr/sbin/pcscd 1.9 PIDFILE=/run/pcscd/pcscd.pid 1.10 1.11 case "$1" in 1.12 @@ -27,7 +27,7 @@ 1.13 fi 1.14 echo -n "Stopping $DESC: $NAME... " 1.15 kill $(cat $PIDFILE) 1.16 - rm $PIDFILE 1.17 + [ -e $PIDFILE ] && rm -f $PIDFILE 1.18 status ;; 1.19 restart) 1.20 $0 stop