From 47a088f576d156961affb9e99564f6f7451f8a36 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 3 Mar 2013 12:47:02 +0000 Subject: 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 Signed-off-by: Gabor Juhos 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 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target/linux/ramips/base-files/lib/preinit/03_preinit_do_ramips.sh') diff --git a/target/linux/ramips/base-files/lib/preinit/03_preinit_do_ramips.sh b/target/linux/ramips/base-files/lib/preinit/03_preinit_do_ramips.sh index e76418dad..31ef5f814 100644 --- a/target/linux/ramips/base-files/lib/preinit/03_preinit_do_ramips.sh +++ b/target/linux/ramips/base-files/lib/preinit/03_preinit_do_ramips.sh @@ -2,6 +2,8 @@ do_ramips() { . /lib/ramips.sh + + ramips_board_detect } boot_hook_add preinit_main do_ramips -- cgit v1.2.3