treewide: populate boardname and model earlier
[openwrt/openwrt.git] / target / linux / apm821xx / base-files / lib / preinit / 01_preinit_do_apm821xx.sh
1 #!/bin/sh
2
3 do_apm821xx() {
4 . /lib/apm821xx.sh
5
6 apm821xx_board_detect
7 }
8
9 boot_hook_add preinit_main do_apm821xx