fix wan configuration on wr850g v2/v3
[openwrt-10.03/.git] / target / linux / brcm-2.4 / base-files / default / etc / init.d / netconfig
index 8d204862ca8a661f712b2d93a9c95135587c5785..2b56963365d36adfdb8be96d15b6a65369729df6 100755 (executable)
@@ -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"