Bios or Efi, next

This commit is contained in:
git
2024-06-27 16:08:13 +02:00
parent e0492b0c19
commit 159a1cecf5
3 changed files with 27 additions and 14 deletions

View File

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