]> git.proxmox.com Git - pve-kernel-meta.git/blobdiff - bin/proxmox-boot-tool
proxmox-boot: print current boot mode with status output
[pve-kernel-meta.git] / bin / proxmox-boot-tool
index 079fa266ede6ff38621ea3400f3f1506fb98fb3b..1e984d6c8c41e36f3b522f0b716bc1251470817c 100755 (executable)
@@ -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
 }