diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-02-16 15:24:48 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-02-16 15:24:48 +0000 |
commit | 92d16f38d72a57850b41c7d950cc6f9e0d21291b (patch) | |
tree | f15cf519891eb5868ac3e5da69403449cd8db690 /target/linux/brcm47xx | |
parent | a21ba013f5461977fa55add0d875dc2b90851f58 (diff) | |
download | mtk-20170518-92d16f38d72a57850b41c7d950cc6f9e0d21291b.zip mtk-20170518-92d16f38d72a57850b41c7d950cc6f9e0d21291b.tar.gz mtk-20170518-92d16f38d72a57850b41c7d950cc6f9e0d21291b.tar.bz2 |
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.
SVN-Revision: 35623
Diffstat (limited to 'target/linux/brcm47xx')
-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 98747f5..3839f9f 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 " |