projects
/
openwrt
/
staging
/
blocktrron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
204bf6e
)
netifd: reload the network config on ifup -a
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 23 Oct 2011 17:22:01 +0000
(17:22 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 23 Oct 2011 17:22:01 +0000
(17:22 +0000)
SVN-Revision: 28544
package/netifd/files/sbin/ifup
patch
|
blob
|
history
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