X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3f5a33d21c35c0db3db7e1f2a2575819eb860d87..8600b97ee65ecd97461508bf0e67de06707a2e59:/package/switch/files/switch.sh 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"