diff options
author | John Crispin <blogic@openwrt.org> | 2014-11-06 09:31:31 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-11-06 09:31:31 +0000 |
commit | 3d1fb84ada10d44712cff3d7530dc057532cce00 (patch) | |
tree | 8ec8760b91969070ce793fef8716e4a86c222ffd /target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips | |
parent | e6a6d7d6d1c78b8a121bc4bee41d314565c700eb (diff) | |
download | master-187ad058-3d1fb84ada10d44712cff3d7530dc057532cce00.tar.gz master-187ad058-3d1fb84ada10d44712cff3d7530dc057532cce00.tar.bz2 master-187ad058-3d1fb84ada10d44712cff3d7530dc057532cce00.zip |
ralink: add support for mt7628
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43197 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips')
-rw-r--r-- | target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips b/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips index ab87421bb9..cae6396a73 100644 --- a/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips +++ b/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips @@ -6,12 +6,12 @@ . /lib/ramips.sh ramips_set_preinit_iface() { - RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"` + RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350|MT7628)"` if [ -n "${RT3X5X}" ]; then swconfig dev rt305x set reset 1 fi - if echo $RT3X5X | grep -q RT5350; then + if echo $RT3X5X | egrep -q "(RT5350|MT7628)"; then # This is a dirty hack to get by while the switch # problem is investigated. When VLAN is disabled, ICMP # pings work as expected, but TCP connections time |