Browse Source

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

SVN-Revision: 6016
Felix Fietkau 19 years ago
parent
commit
5d22a52440
1 changed files with 4 additions and 0 deletions
  1. 4 0
      target/linux/brcm-2.4/base-files/etc/init.d/netconfig

+ 4 - 0
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"