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

10 lines
115 B
Bash

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