projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9eff70b
)
netifd: call /etc/udhcp.user from the netifd dhcp.script
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 15 Dec 2012 17:22:40 +0000
(17:22 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 15 Dec 2012 17:22:40 +0000
(17:22 +0000)
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
SVN-Revision: 34706
package/netifd/files/lib/netifd/dhcp.script
patch
|
blob
|
history
diff --git
a/package/netifd/files/lib/netifd/dhcp.script
b/package/netifd/files/lib/netifd/dhcp.script
index 0097a96f88613723abd4a00c561a367bede22157..d26db0f4d181dfdedde4e683ed5c1852c4845b89 100755
(executable)
--- 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