aboutsummaryrefslogtreecommitdiffstats
path: root/package/switch/files/switch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/switch/files/switch.sh')
-rw-r--r--package/switch/files/switch.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/switch/files/switch.sh b/package/switch/files/switch.sh
index 6517ca9853..2563d410e5 100644
--- a/package/switch/files/switch.sh
+++ b/package/switch/files/switch.sh
@@ -11,6 +11,7 @@ setup_switch_hw() {
local proc="/proc/switch/$dev"
[ -d "$proc" ] && {
+ ifconfig "$dev" up
echo "$reset" > "$proc/reset"
echo "$evlan" > "$proc/enable_vlan"
[ -f "$proc/enable" ] && echo "$enable" > "$proc/enable"