summaryrefslogtreecommitdiff
path: root/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-01-08 14:27:48 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-01-08 14:27:48 +0000
commit209f76b1df5ab38f2cd14bae3025bbba0f5c72ab (patch)
treeedf86904d38979045653aad708f42827d06bf766 /target/linux/brcm-2.4/base-files/etc/init.d/netconfig
parent7fdc9f28c1ba0d4f97e7d93ff3342f40081753c1 (diff)
Add back Sitecom WL-105b support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10142 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 643ba35d31..b207bd45a8 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.