add vlan definitions for Siemens SE505v2

Hi,

this patch adds the correct vlan definitions for the Siemens SE505v2. It
applies to trunk as well as backfire (please apply here too). On
backfire this also patches brcm-2,4, because brcm47xx base-files is just
symlinked to brcm-2.4.

It also fixes two whitespace issues.

Tested with brcm47xx on both trunk and backfire branch and works as
expected.

Signed-off-by: Manuel Munz <freifunk@somakoma.de>

SVN-Revision: 28336
master
Florian Fainelli 13 years ago
parent cfc370eea0
commit 3802769ea1
  1. 5
      target/linux/brcm47xx/base-files/etc/init.d/netconfig

@ -189,8 +189,7 @@ start() {
c["vlan0ports"]="1 2 3 4 5" c["vlan0ports"]="1 2 3 4 5"
c["vlan1ports"]="0 5" c["vlan1ports"]="0 5"
} }
if ((model == "Motorola WR850G V2/V3") || (model == "Siemens SE505 V2")) {
if (model == "Motorola WR850G V2/V3") {
c["vlan0ports"]="0 1 2 3 5" c["vlan0ports"]="0 1 2 3 5"
c["vlan1ports"]="4 5" c["vlan1ports"]="4 5"
} }
@ -211,7 +210,7 @@ start() {
print "#### VLAN configuration " print "#### VLAN configuration "
print "config switch eth0" print "config switch eth0"
print " option enable 1" print " option enable 1"
print "" print ""
vlan(0, "vlan0ports") vlan(0, "vlan0ports")
vlan(1, "vlan1ports") vlan(1, "vlan1ports")
} }

Loading…
Cancel
Save