summaryrefslogtreecommitdiff
path: root/util/check_bootmode.sh
diff options
context:
space:
mode:
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