diff options
author | John Crispin <blogic@openwrt.org> | 2012-09-25 14:47:18 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-09-25 14:47:18 +0000 |
commit | 4bae4b20b26c69a592e6dcedff053012f36e80d1 (patch) | |
tree | cb10c954e67e7ebd799f025de119643487f6fe0a /target/linux/ramips/base-files/etc | |
parent | d27303e486c16edf9accc955fd1dc83460249da9 (diff) | |
download | master-187ad058-4bae4b20b26c69a592e6dcedff053012f36e80d1.tar.gz master-187ad058-4bae4b20b26c69a592e6dcedff053012f36e80d1.tar.bz2 master-187ad058-4bae4b20b26c69a592e6dcedff053012f36e80d1.zip |
[ramips] make uci-defaults switch detection work on rt5350
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33549 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-x | target/linux/ramips/base-files/etc/uci-defaults/network | 2 |
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 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 |