hacks for supporting the toshiba wrc-1000
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5192 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
44d1c9ecf7
commit
3f9c9010c1
|
@ -41,6 +41,11 @@ start() {
|
||||||
c["wan_ifname"]=""
|
c["wan_ifname"]=""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (nvram["boardtype"] == "bcm94710r4") {
|
||||||
|
# Toshiba WRC-1000
|
||||||
|
c["lan_ifname"] = "eth0"
|
||||||
|
c["wan_ifname"] = "eth1"
|
||||||
|
}
|
||||||
if (nvram["boardtype"] == "wgt634u") {
|
if (nvram["boardtype"] == "wgt634u") {
|
||||||
c["vlan0ports"] = "0 1 2 3 5*"
|
c["vlan0ports"] = "0 1 2 3 5*"
|
||||||
c["vlan1ports"] = "4 5"
|
c["vlan1ports"] = "4 5"
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006 OpenWrt.org
|
||||||
|
|
||||||
START=05
|
START=05
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
[ -e /etc/config/network ] && exit 0
|
[ -e /etc/config/network ] && exit 0
|
||||||
|
|
||||||
|
@ -40,6 +41,11 @@ start() {
|
||||||
c["wan_ifname"]=""
|
c["wan_ifname"]=""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (nvram["boardtype"] == "bcm94710r4") {
|
||||||
|
# Toshiba WRC-1000
|
||||||
|
c["lan_ifname"] = "eth0"
|
||||||
|
c["wan_ifname"] = "eth1"
|
||||||
|
}
|
||||||
if (nvram["boardtype"] == "wgt634u") {
|
if (nvram["boardtype"] == "wgt634u") {
|
||||||
c["vlan0ports"] = "0 1 2 3 5*"
|
c["vlan0ports"] = "0 1 2 3 5*"
|
||||||
c["vlan1ports"] = "4 5"
|
c["vlan1ports"] = "4 5"
|
||||||
|
|
Loading…
Reference in New Issue