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 <wiewior@wiewior.eu.org>

SVN-Revision: 27804
owl
Gabor Juhos 2011-07-28 10:56:18 +00:00
parent 57663ce25b
commit 32c0534516
1 changed files with 2 additions and 2 deletions

View File

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