diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-01-22 21:14:26 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-01-22 21:14:26 +0000 |
commit | 59e41117c6c049cefd2a77ffdd5c487e4b1dd686 (patch) | |
tree | dba7ad3fc23b936ad44767610a150cb558ededa7 /package/netifd/files/sbin | |
parent | ca54b44f2d897a15d63d475682c85e8eca0481df (diff) | |
download | master-187ad058-59e41117c6c049cefd2a77ffdd5c487e4b1dd686.tar.gz master-187ad058-59e41117c6c049cefd2a77ffdd5c487e4b1dd686.tar.bz2 master-187ad058-59e41117c6c049cefd2a77ffdd5c487e4b1dd686.zip |
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
Diffstat (limited to 'package/netifd/files/sbin')
-rwxr-xr-x | package/netifd/files/sbin/ifup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/netifd/files/sbin/ifup b/package/netifd/files/sbin/ifup index ef85de1fe8..90bbc9d153 100755 --- a/package/netifd/files/sbin/ifup +++ b/package/netifd/files/sbin/ifup @@ -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 |