diff options
Diffstat (limited to 'net.Linux')
-rw-r--r-- | net.Linux/Makefile | 2 | ||||
-rw-r--r-- | net.Linux/udhcpc.sh | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/net.Linux/Makefile b/net.Linux/Makefile index 3059f1e4..a1472747 100644 --- a/net.Linux/Makefile +++ b/net.Linux/Makefile @@ -1,4 +1,4 @@ -DIR = /$(LIB)/rcscripts/net +DIR = $(RC_LIB)/net FILES = adsl.sh apipa.sh arping.sh bonding.sh br2684ctl.sh bridge.sh \ ccwgroup.sh clip.sh ifconfig.sh ifplugd.sh ip6to4.sh ipppd.sh \ iproute2.sh iwconfig.sh netplugd.sh pppd.sh pump.sh tuntap.sh \ 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 |