summaryrefslogtreecommitdiff
path: root/target/linux/brcm-2.4/base-files/default
diff options
context:
space:
mode:
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 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"