ramips: enhance user-space board detection
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 3 Mar 2013 12:47:02 +0000 (12:47 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 3 Mar 2013 12:47:02 +0000 (12:47 +0000)
commit47a088f576d156961affb9e99564f6f7451f8a36
tree21cddf13501fcb2eb8357894879e5d780bc77a40
parent99a54982d2a2b41b7a28d7a0f0e1560d4c3167e8
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