This commit is contained in:
Santiago Lo Coco 2022-01-28 13:41:18 -03:00
parent 9b5ce2ca52
commit e3021e7478
1 changed files with 1 additions and 3 deletions

View File

@ -14,9 +14,7 @@ formatOptions() {
# TODO: Add support for MBR boot mode # TODO: Add support for MBR boot mode
checkUefi() { checkUefi() {
ls /sys/firmware/efi/efivars > /dev/null 2>&1 ls /sys/firmware/efi/efivars > /dev/null 2>&1
if [ $? -ge 1 ]; then [ $? -ge 1 ] && printAndExit "This scripts supports only UEFI boot mode."
printAndExit "This scripts supports only UEFI boot mode."
fi
} }
updateSystemClock() { updateSystemClock() {