From 97dc39a7a41e7c5c6594d27b7f7f4e960bfe413f Mon Sep 17 00:00:00 2001 From: Matt C Date: Thu, 7 Oct 2021 14:52:37 -0400 Subject: [PATCH] explicitly inform the user of the boot mode (fixes #8) --- citrine.internal.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/citrine.internal.sh b/citrine.internal.sh index 9a14059..6c7680a 100755 --- a/citrine.internal.sh +++ b/citrine.internal.sh @@ -81,6 +81,12 @@ else fi echo "EFI=$EFI" +if [[ "$EFI" == "yes" ]]; then + prompt "This PC seems to have booted with UEFI. Press enter to confirm" +else + prompt "This PC seems to *not* have booted with UEFI. Press enter to aknowledge, or press Control+C if this seems wrong." +fi + inf "Setting system clock via network" timedatectl set-ntp true