mirror of
https://git.proxmox.com/git/pve-kernel-meta
synced 2025-08-11 05:50:59 +00:00
proxmox-boot: print current boot mode with status output
most support questions w.r.t. proxmox-boot-tool do have us asking for `stat /sys/firmware/efi` output anyways Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
parent
3a982230c1
commit
8f256d2772
@ -381,6 +381,11 @@ status() {
|
||||
exit 2
|
||||
fi
|
||||
if [ -z "$quiet" ]; then
|
||||
if [ -d /sys/firmware/efi ]; then
|
||||
echo "System currently booted with uefi"
|
||||
else
|
||||
echo "System currently booted with legacy bios"
|
||||
fi
|
||||
loop_esp_list _status_detail
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user