add a netconfig override for the wl-500g (fixes #1116)

SVN-Revision: 6016
lede-17.01
Felix Fietkau 2007-01-07 15:41:47 +00:00
parent b266b01045
commit 5d22a52440
1 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,10 @@ start() {
c["wan_ifname"] = ""
c["lan_ifname"] = "eth1"
}
if (model == "ASUS WL-500g") {
c["wan_ifname"] = "eth1"
c["lan_ifname"] = "eth0"
}
if (nvram["boardtype"] == "bcm94710r4") {
# Toshiba WRC-1000
c["lan_ifname"] = "eth0"