summaryrefslogtreecommitdiff
path: root/package
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
parenta963a80a389eb5cb22ce35c6231461ae924061cf (diff)
downloadmtk-20170518-c309ed62108e7bb33f379153ec5993df78aa6455.zip
mtk-20170518-c309ed62108e7bb33f379153ec5993df78aa6455.tar.gz
mtk-20170518-c309ed62108e7bb33f379153ec5993df78aa6455.tar.bz2
netifd: always issue a reload on ifup, not just for -a
SVN-Revision: 29863
Diffstat (limited to 'package')
-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 ef85de1..90bbc9d 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