wok-6.x diff pcsc-lite/stuff/init.d/pcscd @ rev 13798
Fix: libdrm version (2.4.34->2.4.40)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Jan 06 04:25:57 2013 +0300 (2013-01-06) |
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 Jan 06 04:25:57 2013 +0300 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