diff options
author | Roy Marples <roy@marples.name> | 2007-09-19 13:53:40 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-09-19 13:53:40 +0000 |
commit | 77f9015f0bf09c5ef3c51009e21d8e687006c3e4 (patch) | |
tree | 5f62c36e8a9e3c3dddeef6a086a0708af35dfcd3 /net.Linux/udhcpc.sh | |
parent | 987c72f12f41b8108447810fe84fd9f16e6d29d7 (diff) |
/lib/rcscripts -> /lib/rc
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 |