diff options
Diffstat (limited to 'net/udhcpc.sh.Linux.in')
-rw-r--r-- | net/udhcpc.sh.Linux.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/udhcpc.sh.Linux.in b/net/udhcpc.sh.Linux.in index 53fe5eb..040369c 100644 --- a/net/udhcpc.sh.Linux.in +++ b/net/udhcpc.sh.Linux.in @@ -4,7 +4,7 @@ udhcpc_depend() { - program start /bin/busybox + program start busybox after interface provide dhcp } @@ -56,8 +56,8 @@ udhcpc_start() fi case " ${args} " in - *" --quit "*|*" -q "*) x="/bin/busybox udhcpc";; - *) x="start-stop-daemon --start --exec /bin/busybox \ + *" --quit "*|*" -q "*) x="busybox udhcpc";; + *) x="start-stop-daemon --start --exec busybox \ --pidfile \"${pidfile}\" -- udhcpc";; esac @@ -95,14 +95,14 @@ udhcpc_stop() case " ${opts} " in *" release "*) start-stop-daemon --stop --quiet --signal USR2 \ - --exec /bin/busybox --pidfile "${pidfile}" + --exec busybox --pidfile "${pidfile}" if [ -f /var/cache/udhcpc-"${IFACE}".lease ]; then rm -f /var/cache/udhcpc-"${IFACE}".lease fi ;; esac - start-stop-daemon --stop --exec /bin/busybox --pidfile "${pidfile}" + start-stop-daemon --stop --exec busybox --pidfile "${pidfile}" eend $? if [ -e "/run/udhcpc-${IFACE}.conf" ]; then |