summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/etc/init.d/netconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/brcm-2.4/base-files/etc/init.d/netconfig b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
index f2d4c5293d..7e3ebcdbf1 100755
--- a/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
+++ b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
@@ -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"