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 | 860c2e811638ae465054fa6197e63f585f793e75 (patch) | |
tree | 153aff16b8ad3289fe9e67897686555aecfb01a1 /package/network | |
parent | eba8cccd8806a0fed005ea9a6791faf448ca3bf6 (diff) | |
download | mtk-20170518-860c2e811638ae465054fa6197e63f585f793e75.zip mtk-20170518-860c2e811638ae465054fa6197e63f585f793e75.tar.gz mtk-20170518-860c2e811638ae465054fa6197e63f585f793e75.tar.bz2 |
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>
SVN-Revision: 34704
Diffstat (limited to 'package/network')
-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 0097a96..d26db0f 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 |