aboutsummaryrefslogtreecommitdiffstats
path: root/package/netifd/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-01-22 21:14:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-01-22 21:14:26 +0000
commitc309ed62108e7bb33f379153ec5993df78aa6455 (patch)
tree5758fe865f55d7ff0bc3a886d25c356f8004f6f4 /package/netifd/files
parenta963a80a389eb5cb22ce35c6231461ae924061cf (diff)
downloadupstream-c309ed62108e7bb33f379153ec5993df78aa6455.tar.gz
upstream-c309ed62108e7bb33f379153ec5993df78aa6455.tar.bz2
upstream-c309ed62108e7bb33f379153ec5993df78aa6455.zip
netifd: always issue a reload on ifup, not just for -a
SVN-Revision: 29863
Diffstat (limited to 'package/netifd/files')
-rwxr-xr-xpackage/netifd/files/sbin/ifup2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/netifd/files/sbin/ifup b/package/netifd/files/sbin/ifup
index ef85de1fe8..90bbc9d153 100755
--- 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