From: Felix Fietkau Date: Sun, 7 Jan 2007 15:41:47 +0000 (+0000) Subject: add a netconfig override for the wl-500g (fixes #1116) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5d22a524408c25d11382cdc9f43cc26c5e7326d6;p=openwrt%2Fstaging%2Fjow.git add a netconfig override for the wl-500g (fixes #1116) SVN-Revision: 6016 --- 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"