summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-09-25 14:47:18 +0000
committerJohn Crispin <john@openwrt.org>2012-09-25 14:47:18 +0000
commitd8c04821c34fd0cf9b870b1267ba12731ac24463 (patch)
treeadbdf82c40617b20003f50ec1da3e777382d0808 /target/linux/ramips/base-files
parent34d57ebd8b1c5674bc59c7ab1f0dd0b3b8a50684 (diff)
downloadmtk-20170518-d8c04821c34fd0cf9b870b1267ba12731ac24463.zip
mtk-20170518-d8c04821c34fd0cf9b870b1267ba12731ac24463.tar.gz
mtk-20170518-d8c04821c34fd0cf9b870b1267ba12731ac24463.tar.bz2
make uci-defaults switch detection work on rt5350
SVN-Revision: 33549
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index a30ce0e..bbb02e8 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -101,7 +101,7 @@ ramips_setup_interfaces()
;;
*)
- RT3X5X=`cat /proc/cpuinfo | grep RT3.5`
+ RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
if [ -n "${RT3X5X}" ]; then
ramips_setup_rt3x5x_vlans
else