Magellan Linux

Diff of /trunk/usbip/usbipd.rc

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

revision 1528 by niro, Mon Sep 19 15:56:15 2011 UTC revision 1533 by niro, Mon Sep 19 16:27:28 2011 UTC
# Line 2  Line 2 
2  # $Id$  # $Id$
3    
4  #%rlevels: 3:s 4:s 5:s 0:k 1:k 2:k 6:k  #%rlevels: 3:s 4:s 5:s 0:k 1:k 2:k 6:k
5  #%start: 90  #%start: 80
6  #%stop: 20  #%stop: 20
7    
8  #deps  #deps
# Line 15  source $rc_functions Line 15  source $rc_functions
15    
16  case "$1" in  case "$1" in
17   start)   start)
18     if [[ -z $(grep '^usbip[-_]host' /proc/modules) ]]
19     then
20     modprobe usbip-host &> /dev/null
21     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 --exec /usr/bin/usbipd --pidfile /var/run/usbipd.pid --make-pidfile -- -D   start-stop-daemon --start --quiet --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

Legend:
Removed from v.1528  
changed lines
  Added in v.1533