netifd: reload the network config on ifup -a
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 23 Oct 2011 17:22:01 +0000 (17:22 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 23 Oct 2011 17:22:01 +0000 (17:22 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28544 3c298f89-4303-0410-b956-a3cf2f4a3e73

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
This page took 0.023806 seconds and 4 git commands to generate.