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