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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29863 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2012-01-22 21:14:26 +00:00
parent ca54b44f2d
commit 59e41117c6
1 changed files with 1 additions and 1 deletions

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