From 8a62bbdad93e1cd864ec61cc90a1e907ce9822b8 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 15 Dec 2012 17:22:40 +0000 Subject: 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 --- package/netifd/files/lib/netifd/dhcp.script | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package') 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 -- cgit v1.2.3