summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-22 21:14:26 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-22 21:14:26 +0000
commitfb6d8740b480a2bc89dfc125600fccf040ff8d9f (patch)
treedba7ad3fc23b936ad44767610a150cb558ededa7 /package
parentcbe4e8a6e6563d892ef8fc604ff0b8093b9e7387 (diff)
netifd: always issue a reload on ifup, not just for -a
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29863 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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