From 01886f51dd695769b281784f7f47a2648b466a55 Mon Sep 17 00:00:00 2001 From: blogic Date: Tue, 25 Sep 2012 14:47:18 +0000 Subject: [ramips] make uci-defaults switch detection work on rt5350 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33549 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/base-files/etc/uci-defaults/network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index a30ce0eb3..bbb02e862 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 -- cgit v1.2.3