Bios or Efi

This commit is contained in:
git
2024-06-27 15:48:52 +02:00
parent 6e6aedfb13
commit e0492b0c19
4 changed files with 24 additions and 6 deletions

View File

@@ -7,4 +7,13 @@ CRYPT_N="lvm-system"
LVM_N="lvmSystem"
HOSTNAME="4rt1x"
TIMEZONE="Europe/Prague"
USERNAME="warezjoe"
USERNAME="warezjoe"
# BIOS or EFI
if [ -f /sys/firmware/efi/fw_platform_size ]; then
BIOSorEFI="EFI"
else
BIOSorEFI="BIOS"
fi
echo $BIOSorEFI