From a9600d7caecc076776567a5274e769d0fea1ce9a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 15 Dec 2012 17:19:24 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34704 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/config/netifd/files/lib/netifd/dhcp.script | 3 +++ 1 file changed, 3 insertions(+) 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