You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
250 B

get_model_rb532() {
grep system\ type /proc/cpuinfo | awk -F ": " '{print $2}'
}
do_sysinfo_rb532() {
mkdir -p /tmp/sysinfo
echo rb532 > /tmp/sysinfo/board_name
get_model_rb532 > /tmp/sysinfo/model
}
boot_hook_add preinit_main do_sysinfo_rb532