From: Felix Fietkau Date: Sun, 23 Oct 2011 17:22:01 +0000 (+0000) Subject: netifd: reload the network config on ifup -a X-Git-Tag: reboot~15807 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4112fbaafbed50bfe68ba95c3b8be662fc0acad5;p=openwrt%2Fstaging%2Fblogic.git netifd: reload the network config on ifup -a SVN-Revision: 28544 --- diff --git a/package/netifd/files/sbin/ifup b/package/netifd/files/sbin/ifup index 1036943ab248..ef85de1fe832 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