openwrtv3/target/linux/brcm63xx/base-files/lib/preinit/03_do_brcm63xx.sh
Jonas Gorski 5d0e2d1b41 brcm63xx: call brcm63xx_detect explicitly
Now that we have converted all users of global variables to use
brcm63xx_board_name, we can savely convert the implicit call to detect
in brcm63xx.sh to a single, explicit call in preinit.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44840
2015-03-16 11:53:14 +00:00

9 lines
107 B
Bash

#!/bin/sh
do_brcm63xx() {
. /lib/brcm63xx.sh
brcm63xx_detect
}
boot_hook_add preinit_main do_brcm63xx