docs: add how to check uefi to readme
1 files changed, 6 insertions(+), 0 deletions(-) M README.md
M README.md => README.md +6 -0
@@ 1,3 1,9 @@ +# Check if in UEFI + +``` sh +[ -d /sys/firmware/efi/efivars ] && echo "UEFI" || echo "Legacy" +``` + # File systems and swap files ## fat32