brcm47xx: fix network config on simpleshare
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 16 Feb 2013 15:24:48 +0000 (15:24 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 16 Feb 2013 15:24:48 +0000 (15:24 +0000)
The included patch will generate a correct network configuration on the simpletech simpleshare.

Thank you for the patch Will Holmes (RealOpty)

This closes #12361.

SVN-Revision: 35623

target/linux/brcm47xx/base-files/etc/init.d/netconfig

index 98747f5803d117e63266ab9aab25eed743e62e41..3839f9f106c5860b1fb568b99fb9749fcabcd7d1 100755 (executable)
@@ -217,6 +217,12 @@ start() {
                        c["vlan0ports"] = "0 1 2 3 5"
                        c["vlan1ports"] = "4 5"
                }
+               if (model == "SimpleTech SimpleShare NAS") {
+                       c["lan_ifname"] = "eth0"
+                       c["wan_ifname"] = ""
+                       c["vlan0ports"] = ""
+                       c["vlan1ports"] = ""
+               }
 
                if (c["vlan0ports"] || c["vlan1ports"]) {
                        print "#### VLAN configuration "