From: Felix Fietkau Date: Sat, 15 Dec 2012 17:19:24 +0000 (+0000) Subject: netifd: call /etc/udhcp.user from the netifd dhcp.script X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=860c2e811638ae465054fa6197e63f585f793e75;p=openwrt%2Fstaging%2Fjow.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 SVN-Revision: 34704 --- 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