summaryrefslogtreecommitdiff
path: root/target/linux/brcm-2.4
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
commitc6e6780624dbc6fa1488b6c2fd3a2936215c436b (patch)
treef9fcc1e4b0afea016ab2286a6b3a39ee2fcffca7 /target/linux/brcm-2.4
parentd21941ca4d7b8ec88ee55271f2ef00dd5cbac9ca (diff)
downloadmtk-20170518-c6e6780624dbc6fa1488b6c2fd3a2936215c436b.zip
mtk-20170518-c6e6780624dbc6fa1488b6c2fd3a2936215c436b.tar.gz
mtk-20170518-c6e6780624dbc6fa1488b6c2fd3a2936215c436b.tar.bz2
fix wan configuration on wr850g v2/v3
SVN-Revision: 8482
Diffstat (limited to 'target/linux/brcm-2.4')
-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 8d20486..2b56963 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"