summaryrefslogtreecommitdiff
path: root/target/linux/brcm-2.4/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-07 15:41:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-07 15:41:47 +0000
commit5d22a524408c25d11382cdc9f43cc26c5e7326d6 (patch)
tree0c230f5c9e37559970a75cc9b1253774e74a81b4 /target/linux/brcm-2.4/base-files
parentb266b01045575ec2056f03d42861ca0b1c5d2e18 (diff)
downloadmtk-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/base-files')
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/etc/init.d/netconfig4
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"