Add back Sitecom WL-105b support
[openwrt/svn-archive/archive.git] / target / linux / brcm-2.4 / base-files / etc / init.d / netconfig
index 643ba35d31b927d519176d8e2c0e88ec5b88b9bc..b207bd45a89dd65a7fccc0a60725e3ebf0953b64 100755 (executable)
@@ -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.