add netconfig fix for wl-500g premium
SVN-Revision: 5287
This commit is contained in:
parent
010faa4381
commit
35176fec08
2 changed files with 14 additions and 4 deletions
|
@ -51,8 +51,13 @@ start() {
|
||||||
c["vlan1ports"] = "4 5"
|
c["vlan1ports"] = "4 5"
|
||||||
}
|
}
|
||||||
if ((nvram["boardtype"] == "0x0467") || (nvram["boardtype"] == "0x042f")) {
|
if ((nvram["boardtype"] == "0x0467") || (nvram["boardtype"] == "0x042f")) {
|
||||||
c["vlan0ports"] = "0 1 2 3 5*"
|
if (nvram["boardnum"] == "45") {
|
||||||
c["vlan1ports"] = "4 5"
|
c["vlan0ports"] = "1 2 3 4 5*"
|
||||||
|
c["vlan1ports"] = "0 5"
|
||||||
|
} else {
|
||||||
|
c["vlan0ports"] = "0 1 2 3 5*"
|
||||||
|
c["vlan1ports"] = "4 5"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# WAP54G
|
# WAP54G
|
||||||
|
|
|
@ -51,8 +51,13 @@ start() {
|
||||||
c["vlan1ports"] = "4 5"
|
c["vlan1ports"] = "4 5"
|
||||||
}
|
}
|
||||||
if ((nvram["boardtype"] == "0x0467") || (nvram["boardtype"] == "0x042f")) {
|
if ((nvram["boardtype"] == "0x0467") || (nvram["boardtype"] == "0x042f")) {
|
||||||
c["vlan0ports"] = "0 1 2 3 5*"
|
if (nvram["boardnum"] == "45") {
|
||||||
c["vlan1ports"] = "4 5"
|
c["vlan0ports"] = "1 2 3 4 5*"
|
||||||
|
c["vlan1ports"] = "0 5"
|
||||||
|
} else {
|
||||||
|
c["vlan0ports"] = "0 1 2 3 5*"
|
||||||
|
c["vlan1ports"] = "4 5"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# WAP54G
|
# WAP54G
|
||||||
|
|
Loading…
Reference in a new issue