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 |