netifd: reload the network config on ifup -a

SVN-Revision: 28544
This commit is contained in:
Felix Fietkau 2011-10-23 17:22:01 +00:00
parent 204bf6e5fe
commit 4112fbaafb

View File

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