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)
commitd2355ee96e0161262a0cc37024610748641308e2
tree21cddf13501fcb2eb8357894879e5d780bc77a40
parentf8daadd8210a10dd347575b7224a2fe7c50427b6
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