projects
/
openwrt
/
staging
/
hauke.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netifd: read udhcpc user scripts from directory
[openwrt/staging/hauke.git]
/
package
/
network
/
config
/
netifd
/
files
/
lib
/
netifd
/
dhcp.script
diff --git
a/package/network/config/netifd/files/lib/netifd/dhcp.script
b/package/network/config/netifd/files/lib/netifd/dhcp.script
index 6585b641d6bfc5aa6acf0dd7237d7a2fadbe5e66..e46005d84c634da2816740dc13ff685116903db6 100755
(executable)
--- a/
package/network/config/netifd/files/lib/netifd/dhcp.script
+++ b/
package/network/config/netifd/files/lib/netifd/dhcp.script
@@
-112,5
+112,8
@@
esac
# user rules
[ -f /etc/udhcpc.user ] && . /etc/udhcpc.user "$@"
+for f in /etc/udhcpc.user.d/*; do
+ [ -f "$f" ] && (. "$f" "$@")
+done
exit 0