diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-01-07 15:41:47 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-01-07 15:41:47 +0000 |
commit | 5d22a524408c25d11382cdc9f43cc26c5e7326d6 (patch) | |
tree | 0c230f5c9e37559970a75cc9b1253774e74a81b4 /target/linux/brcm-2.4 | |
parent | b266b01045575ec2056f03d42861ca0b1c5d2e18 (diff) | |
download | mtk-20170518-5d22a524408c25d11382cdc9f43cc26c5e7326d6.zip mtk-20170518-5d22a524408c25d11382cdc9f43cc26c5e7326d6.tar.gz mtk-20170518-5d22a524408c25d11382cdc9f43cc26c5e7326d6.tar.bz2 |
add a netconfig override for the wl-500g (fixes #1116)
SVN-Revision: 6016
Diffstat (limited to 'target/linux/brcm-2.4')
-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 f2d4c52..7e3ebcd 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" |