treewide: do board detection during preinit
[openwrt/openwrt.git] / target / linux / cns3xxx / base-files / lib / preinit / 01_sysinfo
1 #!/bin/sh
2
3 do_sysinfo_cns3xxx() {
4 . /lib/cns3xxx.sh
5
6 cns3xxx_board_detect
7 }
8
9 boot_hook_add preinit_main do_sysinfo_cns3xxx