From: Gabor Juhos Date: Thu, 28 Jul 2011 10:56:18 +0000 (+0000) Subject: ramips: rt305x: fix uci-defaults/network script for the RT3350 based boards X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=c1e65932650c5da573c585a352f11fdc89f9388d ramips: rt305x: fix uci-defaults/network script for the RT3350 based boards 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 SVN-Revision: 27804 --- diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index 8d4c6d547d..35b2fccdc6 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -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 <