netifd: always issue a reload on ifup, not just for -a
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 22 Jan 2012 21:14:26 +0000 (21:14 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 22 Jan 2012 21:14:26 +0000 (21:14 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29863 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/netifd/files/sbin/ifup

index ef85de1..90bbc9d 100755 (executable)
@@ -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
This page took 0.029258 seconds and 4 git commands to generate.