From 77f9015f0bf09c5ef3c51009e21d8e687006c3e4 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 19 Sep 2007 13:53:40 +0000 Subject: /lib/rcscripts -> /lib/rc --- net.Linux/Makefile | 2 +- net.Linux/udhcpc.sh | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'net.Linux') 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 -- cgit v1.2.3