brcm47xx: fix network config on simpleshare

The included patch will generate a correct network configuration on the simpletech simpleshare.

Thank you for the patch Will Holmes (RealOpty)

This closes #12361.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35623 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Hauke Mehrtens 2013-02-16 15:24:48 +00:00
parent bf71e22b98
commit 28fd5cda23
1 changed files with 6 additions and 0 deletions

View File

@ -217,6 +217,12 @@ start() {
c["vlan0ports"] = "0 1 2 3 5"
c["vlan1ports"] = "4 5"
}
if (model == "SimpleTech SimpleShare NAS") {
c["lan_ifname"] = "eth0"
c["wan_ifname"] = ""
c["vlan0ports"] = ""
c["vlan1ports"] = ""
}
if (c["vlan0ports"] || c["vlan1ports"]) {
print "#### VLAN configuration "