diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-01-08 14:27:48 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2008-01-08 14:27:48 +0000 |
commit | e1826d74ea97af588f5ebf76a8bd4b279d566781 (patch) | |
tree | edf86904d38979045653aad708f42827d06bf766 /target/linux/brcm-2.4 | |
parent | 0fb0428c731487c62d3ca240c4c68534efec4c32 (diff) | |
download | upstream-e1826d74ea97af588f5ebf76a8bd4b279d566781.tar.gz upstream-e1826d74ea97af588f5ebf76a8bd4b279d566781.tar.bz2 upstream-e1826d74ea97af588f5ebf76a8bd4b279d566781.zip |
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')
-rwxr-xr-x | target/linux/brcm-2.4/base-files/etc/init.d/netconfig | 7 | ||||
-rwxr-xr-x | target/linux/brcm-2.4/base-files/etc/preinit.arch | 1 |
2 files changed, 8 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. diff --git a/target/linux/brcm-2.4/base-files/etc/preinit.arch b/target/linux/brcm-2.4/base-files/etc/preinit.arch index 43df591ab7..5127e6088b 100755 --- a/target/linux/brcm-2.4/base-files/etc/preinit.arch +++ b/target/linux/brcm-2.4/base-files/etc/preinit.arch @@ -34,6 +34,7 @@ case "$(cat /proc/diag/model)" in "ASUS WL-HDD") ifname=eth1;; "ASUS WL-300g") ifname=eth1;; "ASUS (unknown, BCM4702)") ifname=eth1;; + "Sitecom WL-105b") ifname=eth1;; esac failsafe_ip |