diff options
Diffstat (limited to 'net.Linux/udhcpc.sh')
-rw-r--r-- | net.Linux/udhcpc.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net.Linux/udhcpc.sh b/net.Linux/udhcpc.sh index af5bbea1..2fe23bd2 100644 --- a/net.Linux/udhcpc.sh +++ b/net.Linux/udhcpc.sh @@ -65,8 +65,11 @@ udhcpc_start() { ;; esac + local script="${RC_LIBDIR}"/sh/udhcpc.sh + [ -x "${script}" ] || script=/lib/rcscripts/sh/udhcpc.sh + eval "${x}" "${args}" --interface="${IFACE}" --now \ - --script="${RC_LIBDIR}"/sh/udhcpc.sh \ + --script="${script}" \ --pidfile="${pidfile}" >/dev/null eend $? || return 1 |