aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/brcm-2.4/etc/init.d/netconfig
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-17 17:07:35 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-17 17:07:35 +0000
commite2434a5515c4c56ffa9eb78276793c7bcf0a1b75 (patch)
tree39198fe645181515ea94002a55ad0332f445adc0 /package/base-files/brcm-2.4/etc/init.d/netconfig
parentadcdb3046b3191d7c4b9c9a64751521ddc1853af (diff)
downloadupstream-e2434a5515c4c56ffa9eb78276793c7bcf0a1b75.tar.gz
upstream-e2434a5515c4c56ffa9eb78276793c7bcf0a1b75.tar.bz2
upstream-e2434a5515c4c56ffa9eb78276793c7bcf0a1b75.zip
hacks for supporting the toshiba wrc-1000
SVN-Revision: 5192
Diffstat (limited to 'package/base-files/brcm-2.4/etc/init.d/netconfig')
-rwxr-xr-xpackage/base-files/brcm-2.4/etc/init.d/netconfig5
1 files changed, 5 insertions, 0 deletions
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 ca52ee7c59..a7cc322d87 100755
--- 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"