diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-12-15 17:19:24 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-12-15 17:19:24 +0000 |
commit | a9600d7caecc076776567a5274e769d0fea1ce9a (patch) | |
tree | 94e8d9229ab15c07e5a98ee3ebb718c0384f0c64 /package | |
parent | 2c6f31f9d5a92b1fd2e92d62e03ea47b9e85a6dc (diff) | |
download | upstream-a9600d7caecc076776567a5274e769d0fea1ce9a.tar.gz upstream-a9600d7caecc076776567a5274e769d0fea1ce9a.tar.bz2 upstream-a9600d7caecc076776567a5274e769d0fea1ce9a.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34704 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-x | package/network/config/netifd/files/lib/netifd/dhcp.script | 3 |
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 |