summaryrefslogtreecommitdiff
path: root/util/check_bootmode.sh
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2019-12-14 17:35:59 +0100
committerxengineering <mail2xengineering@protonmail.com>2019-12-14 17:35:59 +0100
commit9c3854fc72d16c7a819cd74e93dda56e6805cc21 (patch)
treedc0260e0b527295dd9356c2d451aff9e2e96caee /util/check_bootmode.sh
parent64f55d5c08d0914d359e46d5ce5caa86ca14db3f (diff)
downloadarchinstall-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.sh9
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