From: Felix Fietkau Date: Sun, 22 Jan 2012 21:14:26 +0000 (+0000) Subject: netifd: always issue a reload on ifup, not just for -a X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=f392978ae27b1d5cca95ea831ef0ee94e947352c;p=openwrt%2Fsvn-archive%2Farchive.git netifd: always issue a reload on ifup, not just for -a SVN-Revision: 29863 --- diff --git a/package/netifd/files/sbin/ifup b/package/netifd/files/sbin/ifup index ef85de1fe8..90bbc9d153 100755 --- a/package/netifd/files/sbin/ifup +++ b/package/netifd/files/sbin/ifup @@ -13,8 +13,8 @@ if_call() { done } +[ "$modes" = "down up" ] && ubus call network reload [[ "$1" == "-a" ]] && { - [ "$modes" = "down up" ] && ubus call network reload for interface in `ubus -S list 'network.interface.*'`; do if_call "$interface" done