1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-07 22:18:35 +03:00

add netconfig fix for wl-500g premium

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5287 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-10-24 18:51:10 +00:00
parent 127e1f71c3
commit e2f8c9d2e4
2 changed files with 14 additions and 4 deletions

View File

@ -51,8 +51,13 @@ start() {
c["vlan1ports"] = "4 5"
}
if ((nvram["boardtype"] == "0x0467") || (nvram["boardtype"] == "0x042f")) {
c["vlan0ports"] = "0 1 2 3 5*"
c["vlan1ports"] = "4 5"
if (nvram["boardnum"] == "45") {
c["vlan0ports"] = "1 2 3 4 5*"
c["vlan1ports"] = "0 5"
} else {
c["vlan0ports"] = "0 1 2 3 5*"
c["vlan1ports"] = "4 5"
}
}
# WAP54G

View File

@ -51,8 +51,13 @@ start() {
c["vlan1ports"] = "4 5"
}
if ((nvram["boardtype"] == "0x0467") || (nvram["boardtype"] == "0x042f")) {
c["vlan0ports"] = "0 1 2 3 5*"
c["vlan1ports"] = "4 5"
if (nvram["boardnum"] == "45") {
c["vlan0ports"] = "1 2 3 4 5*"
c["vlan1ports"] = "0 5"
} else {
c["vlan0ports"] = "0 1 2 3 5*"
c["vlan1ports"] = "4 5"
}
}
# WAP54G