aboutsummaryrefslogtreecommitdiffstats
path: root/package/netifd/files/sbin/ifup
diff options
context:
space:
mode:
Diffstat (limited to 'package/netifd/files/sbin/ifup')
-rwxr-xr-xpackage/netifd/files/sbin/ifup1
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