summaryrefslogtreecommitdiff
path: root/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-01-08 14:27:48 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-01-08 14:27:48 +0000
commita4ca693c7ea158ac5a804071b46dc3e4d2032fde (patch)
tree5c8ad9f088d118de20f28c6459be7cc830736e6e /target/linux/brcm-2.4/base-files/etc/init.d/netconfig
parentc3c33ff16a0a23fe955848889ad564a0dbb781fe (diff)
downloadmtk-20170518-a4ca693c7ea158ac5a804071b46dc3e4d2032fde.zip
mtk-20170518-a4ca693c7ea158ac5a804071b46dc3e4d2032fde.tar.gz
mtk-20170518-a4ca693c7ea158ac5a804071b46dc3e4d2032fde.tar.bz2
Add back Sitecom WL-105b support
SVN-Revision: 10142
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/netconfig7
1 files changed, 7 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 643ba35..b207bd4 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
@@ -105,6 +105,13 @@ start() {
c["wan_ifname"]=""
}
+ # Sitecom WL-105b
+ if ((nvram["boardum"] == "2") && \
+ (nvram["GemtekPmonVer"] == "1")) {
+ c["lan_ifname"]="eth0"
+ c["wan_ifname"]=""
+ }
+
# ASUS WL-700gE
# These are actually same as defaults above. For some reason this script applies
# Generic BCM94704 settings instead so we revert to proper settings here.