summaryrefslogtreecommitdiffstats
path: root/package/switch/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/switch/files')
-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 6517ca985..2563d410e 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"