netifd: always issue a reload on ifup, not just for -a

SVN-Revision: 29863
lede-17.01
Felix Fietkau 2012-01-22 21:14:26 +00:00
parent a963a80a38
commit c309ed6210
1 changed files with 1 additions and 1 deletions

View File

@ -13,8 +13,8 @@ if_call() {
done done
} }
[ "$modes" = "down up" ] && ubus call network reload
[[ "$1" == "-a" ]] && { [[ "$1" == "-a" ]] && {
[ "$modes" = "down up" ] && ubus call network reload
for interface in `ubus -S list 'network.interface.*'`; do for interface in `ubus -S list 'network.interface.*'`; do
if_call "$interface" if_call "$interface"
done done