projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netifd: reload the network config on ifup -a
[openwrt/openwrt.git]
/
package
/
netifd
/
files
/
sbin
/
ifup
diff --git
a/package/netifd/files/sbin/ifup
b/package/netifd/files/sbin/ifup
index 1036943ab24895d709cca7b64e792f14b2b5e684..ef85de1fe832a53e47f4cbf1d73d468a5c52906e 100755
(executable)
--- a/
package/netifd/files/sbin/ifup
+++ b/
package/netifd/files/sbin/ifup
@@
-14,6
+14,7
@@
if_call() {
}
[[ "$1" == "-a" ]] && {
+ [ "$modes" = "down up" ] && ubus call network reload
for interface in `ubus -S list 'network.interface.*'`; do
if_call "$interface"
done