summaryrefslogtreecommitdiff
path: root/stages/first_stage.sh
diff options
context:
space:
mode:
Diffstat (limited to 'stages/first_stage.sh')
-rw-r--r--stages/first_stage.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/stages/first_stage.sh b/stages/first_stage.sh
index 75f5b5a..ab99ce1 100644
--- a/stages/first_stage.sh
+++ b/stages/first_stage.sh
@@ -47,6 +47,18 @@ export admin_username=$(python $REPOSITORY_PATH/util/read_config_string.py $CONF
export system_encryption=$(python $REPOSITORY_PATH/util/read_config_string.py $CONFIG_FILE_PATH "system_encryption")
+if [ $(check_bootmode.sh) == "Booted with UEFI" ];then
+
+ echo "Booted with UEFI - OK"
+
+else
+
+ echo "Booted with BIOS - OK"
+
+fi
+
+exit
+
bash confirm_installation.sh $disk
bash check_bootmode.sh