From 7ac291d1fce18b625ae06e0219a9bdcc6ad09a7e Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 7 Jan 2007 15:41:47 +0000 Subject: add a netconfig override for the wl-500g (fixes #1116) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6016 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm-2.4/base-files/etc/init.d/netconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target/linux') 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 f2d4c5293..7e3ebcdbf 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" -- cgit v1.2.3