wok-current diff pcsc-lite/stuff/init.d/pcscd @ rev 16245

grisbi: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 03 09:22:13 2014 +0000 (2014-04-03)
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	Thu Apr 03 09:22:13 2014 +0000
     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