diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-01-21 23:48:23 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-01-21 23:48:23 +0000 |
commit | 0cde46b3e78cb09fdcda211edc8cea6d40acd2e4 (patch) | |
tree | ff4501693398d44b199af894a58f11b3f4b301e2 /target | |
parent | 64016fb476ddbcf3e3de07612c1f6e43982e0527 (diff) | |
download | upstream-0cde46b3e78cb09fdcda211edc8cea6d40acd2e4.tar.gz upstream-0cde46b3e78cb09fdcda211edc8cea6d40acd2e4.tar.bz2 upstream-0cde46b3e78cb09fdcda211edc8cea6d40acd2e4.zip |
add support for OvisLink WL-1600GL
SVN-Revision: 19262
Diffstat (limited to 'target')
-rwxr-xr-x | target/linux/brcm-2.4/base-files/etc/init.d/netconfig | 6 |
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 " |