diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-15 17:22:40 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-15 17:22:40 +0000 |
commit | 8a62bbdad93e1cd864ec61cc90a1e907ce9822b8 (patch) | |
tree | 43fd16bf4ffd99dd8735ec88a66f8e458f4e5776 /package | |
parent | e363f1c071b5962b9582ee0fa3261a531cdf67e5 (diff) | |
download | openwrt-8a62bbdad93e1cd864ec61cc90a1e907ce9822b8.tar.gz openwrt-8a62bbdad93e1cd864ec61cc90a1e907ce9822b8.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>
Backport of r34704
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34706 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-x | package/netifd/files/lib/netifd/dhcp.script | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/netifd/files/lib/netifd/dhcp.script b/package/netifd/files/lib/netifd/dhcp.script index 0097a96f8..d26db0f4d 100755 --- a/package/netifd/files/lib/netifd/dhcp.script +++ b/package/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 |