projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b266b01
)
add a netconfig override for the wl-500g (fixes #1116)
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 7 Jan 2007 15:41:47 +0000
(15:41 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 7 Jan 2007 15:41:47 +0000
(15:41 +0000)
SVN-Revision: 6016
target/linux/brcm-2.4/base-files/etc/init.d/netconfig
patch
|
blob
|
history
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 f2d4c5293dd3b61481a909f6106f85272a4742d7..7e3ebcdbf16222546bb761e127fc2c42614325ff 100755
(executable)
--- 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"