netifd: always issue a reload on ifup, not just for -a
[openwrt/svn-archive/archive.git] / package / netifd / files / sbin / ifup
index 1036943ab24895d709cca7b64e792f14b2b5e684..90bbc9d153bf379943e20194f47d37b576cacf70 100755 (executable)
@@ -13,6 +13,7 @@ if_call() {
        done
 }
 
+[ "$modes" = "down up" ] && ubus call network reload
 [[ "$1" == "-a" ]] && {
        for interface in `ubus -S list 'network.interface.*'`; do
                if_call "$interface"