From 9c3854fc72d16c7a819cd74e93dda56e6805cc21 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 14 Dec 2019 17:35:59 +0100 Subject: Reduced code in new util scripts. --- util/check_bootmode.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'util/check_bootmode.sh') diff --git a/util/check_bootmode.sh b/util/check_bootmode.sh index 32df553..560e2b7 100644 --- a/util/check_bootmode.sh +++ b/util/check_bootmode.sh @@ -18,13 +18,10 @@ # along with this program. If not, see . -# Check if booted with UEFI - if [ -d "/sys/firmware/efi/efivars" ]; then - echo "Booted with UEFI - OK" - echo "" - sleep $DELAY + echo "Booted with UEFI" + echo "Checked bootmode - OK" else echo "Not booted with UEFI. Please enable it in your mainboard settings. - FAILED" - exit + echo "Checked bootmode - OK" fi -- cgit v1.2.3-70-g09d2