netifd: call /etc/udhcp.user from the netifd dhcp.script
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 15 Dec 2012 17:19:24 +0000 (17:19 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 15 Dec 2012 17:19:24 +0000 (17:19 +0000)
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34704 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/network/config/netifd/files/lib/netifd/dhcp.script

index 0097a96..d26db0f 100755 (executable)
@@ -56,4 +56,7 @@ case "$1" in
        ;;
 esac
 
+# user rules
+[ -f /etc/udhcpc.user ] && . /etc/udhcpc.user
+
 exit 0