diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-01-22 21:14:26 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-01-22 21:14:26 +0000 |
commit | c309ed62108e7bb33f379153ec5993df78aa6455 (patch) | |
tree | 5758fe865f55d7ff0bc3a886d25c356f8004f6f4 /package | |
parent | a963a80a389eb5cb22ce35c6231461ae924061cf (diff) | |
download | upstream-c309ed62108e7bb33f379153ec5993df78aa6455.tar.gz upstream-c309ed62108e7bb33f379153ec5993df78aa6455.tar.bz2 upstream-c309ed62108e7bb33f379153ec5993df78aa6455.zip |
netifd: always issue a reload on ifup, not just for -a
SVN-Revision: 29863
Diffstat (limited to 'package')
-rwxr-xr-x | package/netifd/files/sbin/ifup | 2 |
1 files changed, 1 insertions, 1 deletions
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 |