Magellan Linux

Diff of /trunk/pcsc-lite/pcscd.rc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 848 by niro, Fri Jun 12 20:39:44 2009 UTC revision 1453 by niro, Thu Jul 28 09:32:09 2011 UTC
# Line 18  source /etc/conf.d/pcscd Line 18  source /etc/conf.d/pcscd
18    
19  case "$1" in  case "$1" in
20   start)   start)
21   echo -e ${COLOREDSTAR}"Starting pcscd ..."   rc_print "Starting pcscd ..."
22    
23   # pcscd won't start if these exist   # pcscd won't start if these exist
24   rm -f /var/run/pcscd.{comm,pub}   rm -f /var/run/pcscd.{comm,pub}
# Line 31  case "$1" in Line 31  case "$1" in
31   ;;   ;;
32    
33   stop)   stop)
34   echo -e ${COLOREDSTAR}"Stopping pcscd ..."   rc_print "Stopping pcscd ..."
35   start-stop-daemon --stop --quiet --exec /usr/sbin/pcscd   start-stop-daemon --stop --quiet --exec /usr/sbin/pcscd
36   evaluate_retval   evaluate_retval
37    
# Line 50  case "$1" in Line 50  case "$1" in
50   ;;   ;;
51    
52   *)   *)
53   echo "Usage: $0 {start|stop|restart|status}"   rc_echo "Usage: $0 {start|stop|restart|status}"
54   exit 1   exit 1
55   ;;   ;;
56  esac  esac

Legend:
Removed from v.848  
changed lines
  Added in v.1453