aboutsummaryrefslogtreecommitdiffstats
path: root/package/netifd
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-15 17:22:40 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-15 17:22:40 +0000
commit8a62bbdad93e1cd864ec61cc90a1e907ce9822b8 (patch)
tree43fd16bf4ffd99dd8735ec88a66f8e458f4e5776 /package/netifd
parente363f1c071b5962b9582ee0fa3261a531cdf67e5 (diff)
downloadopenwrt-8a62bbdad93e1cd864ec61cc90a1e907ce9822b8.tar.gz
openwrt-8a62bbdad93e1cd864ec61cc90a1e907ce9822b8.zip
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 <helmut.schaa@googlemail.com> Backport of r34704 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34706 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/netifd')
-rwxr-xr-xpackage/netifd/files/lib/netifd/dhcp.script3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/netifd/files/lib/netifd/dhcp.script b/package/netifd/files/lib/netifd/dhcp.script
index 0097a96f8..d26db0f4d 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