diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-23 17:22:01 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-23 17:22:01 +0000 |
commit | 4112fbaafbed50bfe68ba95c3b8be662fc0acad5 (patch) | |
tree | c159ff07591d5ce51ee28ada2b8e3f5873eb15fc | |
parent | 204bf6e5fef681cf4658edb9223ce1fa2a079ace (diff) | |
download | upstream-4112fbaafbed50bfe68ba95c3b8be662fc0acad5.tar.gz upstream-4112fbaafbed50bfe68ba95c3b8be662fc0acad5.tar.bz2 upstream-4112fbaafbed50bfe68ba95c3b8be662fc0acad5.zip |
netifd: reload the network config on ifup -a
SVN-Revision: 28544
-rwxr-xr-x | package/netifd/files/sbin/ifup | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/netifd/files/sbin/ifup b/package/netifd/files/sbin/ifup index 1036943ab2..ef85de1fe8 100755 --- a/package/netifd/files/sbin/ifup +++ b/package/netifd/files/sbin/ifup @@ -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 |