Update hwinfo
Some checks failed
Ventoy CI / build (push) Has been cancelled
Mirror GitHub to Gitee / Sync-GitHub-to-Gitee (push) Has been cancelled

This commit is contained in:
longpanda
2026-06-28 23:06:50 +08:00
parent 3d0d6c3147
commit ba87af540b
3 changed files with 33 additions and 25 deletions

View File

@@ -24,17 +24,20 @@ menuentry "$VTLANG_HWINFO" --class=debug_hwinfo --class=F5tool {
set bios_size="-";
smbios -t 0 -b 0x09 --set=bios_size;
echo "Platform $grub_cpu-$grub_platform"
if [ "$grub_platform" != "pc" ]; then
echo "UEFI Version $grub_uefi_version"
echo "PI Version $grub_pi_version"
if vt_check_secureboot_var; then
echo "Secure Boot Enabled"
else
echo "Secure Boot Disabled"
fi
fi
vt_sbinfo
fi
echo ""
echo "CPU Model $cpu_brand"
echo "Physical RAM $grub_total_ram MB"