diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-17 17:07:35 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-17 17:07:35 +0000 |
commit | 346b56b086916db47db5418f73f5114ccb8e8b68 (patch) | |
tree | d68055abf5fa10baa9d3500eaa9dd82fa12fe21a /package/base-files/brcm-2.4/etc/init.d/netconfig | |
parent | 1e2a3b0bd0ac936b6287e8e25d70f15ca8e4d790 (diff) |
hacks for supporting the toshiba wrc-1000
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5192 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/brcm-2.4/etc/init.d/netconfig')
-rwxr-xr-x | package/base-files/brcm-2.4/etc/init.d/netconfig | 5 |
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" |