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)
commit80e2673444706596c4a8d207720fc9c01a0c9f30
tree21cddf13501fcb2eb8357894879e5d780bc77a40
parent2d8df9648d9ec96c5869b3e1bfdda6a1acb560c2
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35850 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ramips/base-files/lib/preinit/03_preinit_do_ramips.sh
target/linux/ramips/base-files/lib/ramips.sh