From: hauke Date: Mon, 4 Feb 2013 22:38:37 +0000 (+0000) Subject: brcm47xx: Fix switch config on 4716/53115 devices X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=30996af6c7b3ead40f95e5054d4dcecfd159d1dd;p=openwrt.git brcm47xx: Fix switch config on 4716/53115 devices Signed-off-by: Jonathan McCrohan git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35490 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/brcm47xx/base-files/etc/init.d/netconfig b/target/linux/brcm47xx/base-files/etc/init.d/netconfig index b4840c2c41..303ab56966 100755 --- a/target/linux/brcm47xx/base-files/etc/init.d/netconfig +++ b/target/linux/brcm47xx/base-files/etc/init.d/netconfig @@ -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" }