Skip to content
Snippets Groups Projects
Commit fb6d8740 authored by nbd's avatar nbd
Browse files

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
parent cbe4e8a6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment