diff options
author | xengineering <mail2xengineering@protonmail.com> | 2019-12-14 17:35:59 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2019-12-14 17:35:59 +0100 |
commit | 9c3854fc72d16c7a819cd74e93dda56e6805cc21 (patch) | |
tree | dc0260e0b527295dd9356c2d451aff9e2e96caee /util/check_bootmode.sh | |
parent | 64f55d5c08d0914d359e46d5ce5caa86ca14db3f (diff) | |
download | archinstall-9c3854fc72d16c7a819cd74e93dda56e6805cc21.tar archinstall-9c3854fc72d16c7a819cd74e93dda56e6805cc21.tar.zst archinstall-9c3854fc72d16c7a819cd74e93dda56e6805cc21.zip |
Reduced code in new util scripts.
Diffstat (limited to 'util/check_bootmode.sh')
-rw-r--r-- | util/check_bootmode.sh | 9 |
1 files changed, 3 insertions, 6 deletions
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 <https://www.gnu.org/licenses/>. -# 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 |