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
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
do_ramips() {
|
||||
. /lib/ramips.sh
|
||||
|
||||
ramips_board_detect
|
||||
}
|
||||
|
||||
boot_hook_add preinit_main do_ramips
|
||||
|
||||
Reference in New Issue
Block a user