diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-12-15 17:22:40 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-12-15 17:22:40 +0000 |
commit | a6464902217bcb307acec8f4c9287fd506a9ffc8 (patch) | |
tree | 43fd16bf4ffd99dd8735ec88a66f8e458f4e5776 /package/netifd/files/lib | |
parent | 75f74c387f01780ae9b14799122b7911f6e771d6 (diff) | |
download | upstream-a6464902217bcb307acec8f4c9287fd506a9ffc8.tar.gz upstream-a6464902217bcb307acec8f4c9287fd506a9ffc8.tar.bz2 upstream-a6464902217bcb307acec8f4c9287fd506a9ffc8.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/netifd/files/lib')
-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 0097a96f88..d26db0f4d1 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 |