ramips: rt305x: fix uci-defaults/network script for the RT3350 based boards
authorGabor Juhos <juhosg@openwrt.org>
Thu, 28 Jul 2011 10:56:18 +0000 (10:56 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 28 Jul 2011 10:56:18 +0000 (10:56 +0000)
This change corrects expected CPU name of Ralink RT3050, which
describes itself as RT3350 (this name is ripped off chip and elevated
to user space via /proc/cpuinfo.)
This patch fixes wired network on DIR-300 rev B and DIR-600 rev B

Signed-off-by: Slawomir Cygan <wiewior@wiewior.eu.org>
SVN-Revision: 27804

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

index 8d4c6d547d0051fbd1e093449ee8714a4c34981e..35b2fccdc66d4c4aae459f2ae7d034ec7181bd1b 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
-RT305X=`cat /proc/cpuinfo | grep RT305`
-[ -z "${RT305X}" ] || {
+RT3X5X=`cat /proc/cpuinfo | grep RT3.5`
+[ -z "${RT3X5X}" ] || {
        uci batch <<EOF
 set network.lan.ifname=eth0.1
 set network.wan=interface