diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-01-07 15:41:47 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-01-07 15:41:47 +0000 |
commit | 7ac291d1fce18b625ae06e0219a9bdcc6ad09a7e (patch) | |
tree | 75e231e905c2805fbd0afa59e5cf7811316f1a8e /target | |
parent | 74975289a3766867f9d3a513ebd1cbd26671574d (diff) |
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
Diffstat (limited to 'target')
-rwxr-xr-x | target/linux/brcm-2.4/base-files/etc/init.d/netconfig | 4 |
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" |