diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-10-24 18:51:10 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-10-24 18:51:10 +0000 |
commit | 2ca894a76ebc28a67cff1da23662f034edb855a6 (patch) | |
tree | 96a329d4c0da8c3243278c10308d1600024632a9 /package/base-files | |
parent | 40bb14ef28ea479fcda86bea2f0c5dab0cb6a831 (diff) | |
download | upstream-2ca894a76ebc28a67cff1da23662f034edb855a6.tar.gz upstream-2ca894a76ebc28a67cff1da23662f034edb855a6.tar.bz2 upstream-2ca894a76ebc28a67cff1da23662f034edb855a6.zip |
add netconfig fix for wl-500g premium
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5287 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rwxr-xr-x | package/base-files/brcm-2.4/etc/init.d/netconfig | 9 | ||||
-rwxr-xr-x | package/base-files/brcm-2.6/etc/init.d/netconfig | 9 |
2 files changed, 14 insertions, 4 deletions
diff --git a/package/base-files/brcm-2.4/etc/init.d/netconfig b/package/base-files/brcm-2.4/etc/init.d/netconfig index a7cc322d87..fe39f50516 100755 --- a/package/base-files/brcm-2.4/etc/init.d/netconfig +++ b/package/base-files/brcm-2.4/etc/init.d/netconfig @@ -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 diff --git a/package/base-files/brcm-2.6/etc/init.d/netconfig b/package/base-files/brcm-2.6/etc/init.d/netconfig index a7cc322d87..fe39f50516 100755 --- a/package/base-files/brcm-2.6/etc/init.d/netconfig +++ b/package/base-files/brcm-2.6/etc/init.d/netconfig @@ -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 |