projects
/
openwrt
/
staging
/
pepe2k.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a963a80
)
netifd: always issue a reload on ifup, not just for -a
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 22 Jan 2012 21:14:26 +0000
(21:14 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 22 Jan 2012 21:14:26 +0000
(21:14 +0000)
SVN-Revision: 29863
package/netifd/files/sbin/ifup
patch
|
blob
|
history
diff --git
a/package/netifd/files/sbin/ifup
b/package/netifd/files/sbin/ifup
index ef85de1fe832a53e47f4cbf1d73d468a5c52906e..90bbc9d153bf379943e20194f47d37b576cacf70 100755
(executable)
--- a/
package/netifd/files/sbin/ifup
+++ b/
package/netifd/files/sbin/ifup
@@
-13,8
+13,8
@@
if_call() {
done
}
+[ "$modes" = "down up" ] && ubus call network reload
[[ "$1" == "-a" ]] && {
- [ "$modes" = "down up" ] && ubus call network reload
for interface in `ubus -S list 'network.interface.*'`; do
if_call "$interface"
done