summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm-2.4/base-files/default
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-25 12:27:01 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-25 12:27:01 +0000
commitc2e9789198880e5de157dd5dbeaf64b9e0340d23 (patch)
tree8b107cb3aa2a60671cabb1070b3ff30b73933092 /target/linux/brcm-2.4/base-files/default
parent6a948981a35622512bddfcea20ecab8dad48efaa (diff)
fix wan configuration on wr850g v2/v3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8482 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm-2.4/base-files/default')
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/default/etc/init.d/netconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/brcm-2.4/base-files/default/etc/init.d/netconfig b/target/linux/brcm-2.4/base-files/default/etc/init.d/netconfig
index 8d204862c..2b5696336 100755
--- a/target/linux/brcm-2.4/base-files/default/etc/init.d/netconfig
+++ b/target/linux/brcm-2.4/base-files/default/etc/init.d/netconfig
@@ -111,6 +111,11 @@ start() {
c["vlan0ports"]="1 2 3 4 5*"
c["vlan1ports"]="0 5"
}
+
+ if (model == "Motorola WR850G V2/V3") {
+ c["vlan0ports"]="0 1 2 3 5*"
+ c["vlan1ports"]="4 5"
+ }
print "#### VLAN configuration "
print "config switch eth0"