From: Hauke Mehrtens Date: Mon, 4 Feb 2013 22:38:37 +0000 (+0000) Subject: brcm47xx: Fix switch config on 4716/53115 devices X-Git-Tag: reboot~11351 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c2198aba320bf354de00cc76e1ae990da24ee1ec;p=oweals%2Fopenwrt.git brcm47xx: Fix switch config on 4716/53115 devices Signed-off-by: Jonathan McCrohan SVN-Revision: 35490 --- 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" }