ramips: enhance user-space board detection
authorGabor Juhos <juhosg@openwrt.org>
Sun, 3 Mar 2013 12:47:02 +0000 (12:47 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 3 Mar 2013 12:47:02 +0000 (12:47 +0000)
commit367ab0a40fede68d1a8e3299f638bb3544444f26
treea2bef2e5836a86f34e71a7dcae92884a4567fa09
parent1ba2272ca5449c6f38728ff8870bf07aca440f5c
ramips: enhance user-space board detection

Similar to ar71xx, detect only once and cache the strings in
/tmp/sysinfo/model and /tmp/sysinfo/boardname.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35850
target/linux/ramips/base-files/lib/preinit/03_preinit_do_ramips.sh
target/linux/ramips/base-files/lib/ramips.sh