From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Sun, 23 Oct 2011 17:22:01 +0000 (+0000) Subject: netifd: reload the network config on ifup -a X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/9891a9a835b9b5ca27235120c07ca42bb8ecd97c netifd: reload the network config on ifup -a git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28544 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/netifd/files/sbin/ifup b/package/netifd/files/sbin/ifup index 1036943ab..ef85de1fe 100755 --- a/package/netifd/files/sbin/ifup +++ b/package/netifd/files/sbin/ifup @@ -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