openwrtv3/target/linux/sunxi/base-files/lib/preinit/01_preinit_sunxi.sh

9 lines
115 B
Bash

#!/bin/sh
do_sunxi() {
. /lib/sunxi.sh
sunxi_board_detect
}
boot_hook_add preinit_main do_sunxi