summaryrefslogtreecommitdiff
path: root/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
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/init.d/netconfig
parent64016fb476ddbcf3e3de07612c1f6e43982e0527 (diff)
downloadmtk-20170518-0cde46b3e78cb09fdcda211edc8cea6d40acd2e4.zip
mtk-20170518-0cde46b3e78cb09fdcda211edc8cea6d40acd2e4.tar.gz
mtk-20170518-0cde46b3e78cb09fdcda211edc8cea6d40acd2e4.tar.bz2
add support for OvisLink WL-1600GL
SVN-Revision: 19262
Diffstat (limited to 'target/linux/brcm-2.4/base-files/etc/init.d/netconfig')
-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 d63f17b..d1e45e5 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 "