aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm-2.4/base-files/etc/init.d/netconfig')
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/etc/init.d/netconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/brcm-2.4/base-files/etc/init.d/netconfig b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
index 638f664bef..d63f17b124 100755
--- a/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
+++ b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
@@ -164,8 +164,10 @@ start() {
c["lan_ifname"] = "eth0"
c["wan_ifname"] = "eth1"
}
- if (nvram["boardtype"] == "0x478") {
- # generic broadcom 4785 processor with 5397 switch?
+ # generic broadcom 4705/4785 processor with 5397 switch?
+ # EXCEPT Linksys WRT300N V1.1
+ if ((nvram["boardtype"] == "0x478") && \
+ (model != "Linksys WRT300N V1.1")) {
c["vlan0ports"] = "1 2 3 4 8*"
c["vlan1ports"] = "0 8"
}