From: John Crispin Date: Tue, 25 Sep 2012 14:47:18 +0000 (+0000) Subject: make uci-defaults switch detection work on rt5350 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d8c04821c34fd0cf9b870b1267ba12731ac24463;p=openwrt%2Fstaging%2Fldir.git make uci-defaults switch detection work on rt5350 SVN-Revision: 33549 --- diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index a30ce0eb3d..bbb02e8627 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