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

SVN-Revision: 29863
This commit is contained in:
Felix Fietkau 2012-01-22 21:14:26 +00:00
parent a963a80a38
commit c309ed6210

View file

@ -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