netifd: reload the network config on ifup -a
authorFelix Fietkau <nbd@openwrt.org>
Sun, 23 Oct 2011 17:22:01 +0000 (17:22 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 23 Oct 2011 17:22:01 +0000 (17:22 +0000)
SVN-Revision: 28544

package/netifd/files/sbin/ifup

index 1036943..ef85de1 100755 (executable)
@@ -14,6 +14,7 @@ if_call() {
 }
 
 [[ "$1" == "-a" ]] && {
+       [ "$modes" = "down up" ] && ubus call network reload
        for interface in `ubus -S list 'network.interface.*'`; do
                if_call "$interface"
        done