aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackage/netifd/files/sbin/ifup2
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