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 | mtk-20170518-c309ed62108e7bb33f379153ec5993df78aa6455.zip mtk-20170518-c309ed62108e7bb33f379153ec5993df78aa6455.tar.gz mtk-20170518-c309ed62108e7bb33f379153ec5993df78aa6455.tar.bz2 |
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 ef85de1..90bbc9d 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 |