aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2007-08-25 12:27:01 +0000
committerMike Baker <mbm@openwrt.org>2007-08-25 12:27:01 +0000
commit4585158028b283d69ebdd87da39a4a939075d385 (patch)
tree8b107cb3aa2a60671cabb1070b3ff30b73933092 /target
parent134d9f15d78db12ea19ca331fef4d0b5b599b7a4 (diff)
downloadupstream-4585158028b283d69ebdd87da39a4a939075d385.tar.gz
upstream-4585158028b283d69ebdd87da39a4a939075d385.tar.bz2
upstream-4585158028b283d69ebdd87da39a4a939075d385.zip
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')
-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 8d204862ca..2b56963365 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"