summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-02-16 15:24:48 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-02-16 15:24:48 +0000
commitd7ae11551e0c8b5a59bf73e8c39d556e7d5e6a60 (patch)
tree605ce688b7c40d136b028c4d9f232df33f0cf4a4
parent314d078dd56380cd6e658d774aa705ff597994cb (diff)
brcm47xx: fix network config on simpleshare
The included patch will generate a correct network configuration on the simpletech simpleshare. Thank you for the patch Will Holmes (RealOpty) This closes #12361. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35623 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xtarget/linux/brcm47xx/base-files/etc/init.d/netconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/base-files/etc/init.d/netconfig b/target/linux/brcm47xx/base-files/etc/init.d/netconfig
index 98747f5803..3839f9f106 100755
--- a/target/linux/brcm47xx/base-files/etc/init.d/netconfig
+++ b/target/linux/brcm47xx/base-files/etc/init.d/netconfig
@@ -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 "