make uci-defaults switch detection work on rt5350
authorJohn Crispin <john@openwrt.org>
Tue, 25 Sep 2012 14:47:18 +0000 (14:47 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 25 Sep 2012 14:47:18 +0000 (14:47 +0000)
SVN-Revision: 33549

target/linux/ramips/base-files/etc/uci-defaults/network

index a30ce0eb3d754ecfdf477ceaa02037834883ae77..bbb02e8627d160731e39bf49675e25f343424e5b 100755 (executable)
@@ -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