From: nbd Date: Sat, 15 Dec 2012 17:22:40 +0000 (+0000) Subject: netifd: call /etc/udhcp.user from the netifd dhcp.script X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=8a62bbdad93e1cd864ec61cc90a1e907ce9822b8;p=12.09%2Fopenwrt.git netifd: call /etc/udhcp.user from the netifd dhcp.script This was done previously when dhcp was handled by the network scripts. So netifd should behave the same. Signed-off-by: Helmut Schaa Backport of r34704 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34706 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/netifd/files/lib/netifd/dhcp.script b/package/netifd/files/lib/netifd/dhcp.script index 0097a96..d26db0f 100755 --- a/package/netifd/files/lib/netifd/dhcp.script +++ b/package/netifd/files/lib/netifd/dhcp.script @@ -56,4 +56,7 @@ case "$1" in ;; esac +# user rules +[ -f /etc/udhcpc.user ] && . /etc/udhcpc.user + exit 0