aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-12-15 17:19:24 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-12-15 17:19:24 +0000
commit860c2e811638ae465054fa6197e63f585f793e75 (patch)
tree153aff16b8ad3289fe9e67897686555aecfb01a1 /package/network/config
parenteba8cccd8806a0fed005ea9a6791faf448ca3bf6 (diff)
downloadupstream-860c2e811638ae465054fa6197e63f585f793e75.tar.gz
upstream-860c2e811638ae465054fa6197e63f585f793e75.tar.bz2
upstream-860c2e811638ae465054fa6197e63f585f793e75.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> SVN-Revision: 34704
Diffstat (limited to 'package/network/config')
-rwxr-xr-xpackage/network/config/netifd/files/lib/netifd/dhcp.script3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/network/config/netifd/files/lib/netifd/dhcp.script b/package/network/config/netifd/files/lib/netifd/dhcp.script
index 0097a96f88..d26db0f4d1 100755
--- a/package/network/config/netifd/files/lib/netifd/dhcp.script
+++ b/package/network/config/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