X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/3f5a33d21c35c0db3db7e1f2a2575819eb860d87..4f7c8b760c3fed2d3acac7eb2255ecbd1da97668:/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"