projects
/
openwrt
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hacks for supporting the toshiba wrc-1000
[openwrt/.git]
/
package
/
base-files
/
brcm-2.4
/
etc
/
init.d
/
netconfig
diff --git
a/package/base-files/brcm-2.4/etc/init.d/netconfig
b/package/base-files/brcm-2.4/etc/init.d/netconfig
index ca52ee7c59c6c7ec14e8d11ad1d01dd89de7a922..a7cc322d877a90d4a8dc2cd03f806e815abbf6b1 100755
(executable)
--- a/
package/base-files/brcm-2.4/etc/init.d/netconfig
+++ b/
package/base-files/brcm-2.4/etc/init.d/netconfig
@@
-41,6
+41,11
@@
start() {
c["wan_ifname"]=""
}
}
+ if (nvram["boardtype"] == "bcm94710r4") {
+ # Toshiba WRC-1000
+ c["lan_ifname"] = "eth0"
+ c["wan_ifname"] = "eth1"
+ }
if (nvram["boardtype"] == "wgt634u") {
c["vlan0ports"] = "0 1 2 3 5*"
c["vlan1ports"] = "4 5"