summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-02-04 22:38:37 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-02-04 22:38:37 +0000
commitc2198aba320bf354de00cc76e1ae990da24ee1ec (patch)
tree807efe1fd93f56fff1529edaf0c4ca35a14c36cb /target/linux/brcm47xx
parentb97aee1ee851c6ce0f48e9c231a8152c1151dbe4 (diff)
downloadmtk-20170518-c2198aba320bf354de00cc76e1ae990da24ee1ec.zip
mtk-20170518-c2198aba320bf354de00cc76e1ae990da24ee1ec.tar.gz
mtk-20170518-c2198aba320bf354de00cc76e1ae990da24ee1ec.tar.bz2
brcm47xx: Fix switch config on 4716/53115 devices
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com> SVN-Revision: 35490
Diffstat (limited to 'target/linux/brcm47xx')
-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 b4840c2..303ab56 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"
}