summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/base-files/etc/init.d/netconfig
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-02-04 22:38:37 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-02-04 22:38:37 +0000
commit30996af6c7b3ead40f95e5054d4dcecfd159d1dd (patch)
tree6184151e944939936d1d31990ef5572863b9f455 /target/linux/brcm47xx/base-files/etc/init.d/netconfig
parentc279470c06c135961bd60905e755ab4b06c10229 (diff)
brcm47xx: Fix switch config on 4716/53115 devices
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35490 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/base-files/etc/init.d/netconfig')
-rwxr-xr-xtarget/linux/brcm47xx/base-files/etc/init.d/netconfig2
1 files changed, 1 insertions, 1 deletions
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"
}