aboutsummaryrefslogtreecommitdiffstats
path: root/package/swconfig/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/swconfig/files')
-rw-r--r--package/swconfig/files/switch.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/swconfig/files/switch.sh b/package/swconfig/files/switch.sh
index d752b1383d..7078b2e823 100644
--- a/package/swconfig/files/switch.sh
+++ b/package/swconfig/files/switch.sh
@@ -2,6 +2,7 @@
# Copyright (C) 2009 OpenWrt.org
setup_switch_dev() {
+ ifconfig "$1" 0.0.0.0
swconfig dev "$1" load network
}