Magellan Linux

Diff of /trunk/usbip/usbipd.rc

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

revision 1534 by niro, Mon Sep 19 16:28:14 2011 UTC revision 1535 by niro, Mon Sep 19 16:32:12 2011 UTC
# Line 20  case "$1" in Line 20  case "$1" in
20   modprobe usbip-host &> /dev/null   modprobe usbip-host &> /dev/null
21   fi   fi
22   rc_print "Starting USB over TCP/IP Enumerator daemon ..."   rc_print "Starting USB over TCP/IP Enumerator daemon ..."
23   start-stop-daemon --start --quiet --exec /usr/bin/usbipd --pidfile /var/run/usbipd.pid --make-pidfile -- -D   start-stop-daemon --start --quiet --background --exec /usr/bin/usbipd --pidfile /var/run/usbipd.pid --make-pidfile -- -D
24   evaluate_retval   evaluate_retval
25    
26   update_svcstatus $1   update_svcstatus $1
# Line 29  case "$1" in Line 29  case "$1" in
29    
30   stop)   stop)
31   rc_print "Stopping USB over TCP/IP Enumerator  daemon ..."   rc_print "Stopping USB over TCP/IP Enumerator  daemon ..."
32   start-stop-daemon --stop --quiet --pidfile /var/run/usbipd.pid   start-stop-daemon --stop --oknodo --quiet --pidfile /var/run/usbipd.pid
33   if [[ ! -z $(pidof usbipd) ]]   if [[ ! -z $(pidof usbipd) ]]
34   then   then
35   killall usbipd &> /dev/null   killall usbipd &> /dev/null

Legend:
Removed from v.1534  
changed lines
  Added in v.1535