[tools] mpc: update to 0.9
[openwrt.git] / 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.021603 seconds and 4 git commands to generate.