aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm-2.4/base-files/etc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-01-21 23:48:23 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-01-21 23:48:23 +0000
commit0cde46b3e78cb09fdcda211edc8cea6d40acd2e4 (patch)
treeff4501693398d44b199af894a58f11b3f4b301e2 /target/linux/brcm-2.4/base-files/etc
parent64016fb476ddbcf3e3de07612c1f6e43982e0527 (diff)
downloadupstream-0cde46b3e78cb09fdcda211edc8cea6d40acd2e4.tar.gz
upstream-0cde46b3e78cb09fdcda211edc8cea6d40acd2e4.tar.bz2
upstream-0cde46b3e78cb09fdcda211edc8cea6d40acd2e4.zip
add support for OvisLink WL-1600GL
SVN-Revision: 19262
Diffstat (limited to 'target/linux/brcm-2.4/base-files/etc')
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/etc/init.d/netconfig6
1 files changed, 6 insertions, 0 deletions
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 d63f17b124..d1e45e5bb8 100755
--- a/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
+++ b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
@@ -207,6 +207,12 @@ start() {
c["vlan0ports"] = "0 1 2 3 4 5u"
c["vlan1ports"] = ""
}
+ if (model == "OvisLink WL-1600GL") {
+ c["lan_ifname"] = "eth0.0"
+ c["wan_ifname"] = "eth0.1"
+ c["vlan0ports"] = "0 1 2 3 5*"
+ c["vlan1ports"] = "4 5"
+ }
if (c["vlan0ports"] || c["vlan1ports"]) {
print "#### VLAN configuration "