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