diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-02-16 15:24:48 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-02-16 15:24:48 +0000 |
commit | 28fd5cda23f6ecdb16d21b776f0a3c9afb4bdc17 (patch) | |
tree | 605ce688b7c40d136b028c4d9f232df33f0cf4a4 | |
parent | bf71e22b987fde02fb07f44810c845e8ae20e1dc (diff) | |
download | master-187ad058-28fd5cda23f6ecdb16d21b776f0a3c9afb4bdc17.tar.gz master-187ad058-28fd5cda23f6ecdb16d21b776f0a3c9afb4bdc17.tar.bz2 master-187ad058-28fd5cda23f6ecdb16d21b776f0a3c9afb4bdc17.zip |
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-x | target/linux/brcm47xx/base-files/etc/init.d/netconfig | 6 |
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 " |