brcm47xx: Fix switch config on 4716/53115 devices
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 4 Feb 2013 22:38:37 +0000 (22:38 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 4 Feb 2013 22:38:37 +0000 (22:38 +0000)
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35490 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/brcm47xx/base-files/etc/init.d/netconfig

index b4840c2..303ab56 100755 (executable)
@@ -166,7 +166,7 @@ start() {
                }
 
                # generic broadcom 4716 processor with 53115 switch
-               if (nvram["boardtype"] == "0x04cf") {
+               if (tolower(nvram["boardtype"]) == "0x04cf") {
                        c["vlan0ports"] = "1 2 3 4 8*"
                        c["vlan1ports"] = "0 8"
                }