summaryrefslogtreecommitdiff
path: root/stages
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-01-12 11:41:39 +0100
committerxengineering <mail2xengineering@protonmail.com>2020-01-12 11:41:39 +0100
commite12ac9b213ef3e8ecebc0c3052ec7e0e8bd7a31c (patch)
tree5c0a7a2c9d693603ea052694124a55222ed225fc /stages
parent1960fd07b1b65da2afe77e9c317210d38aaa0dce (diff)
downloadarchinstall-e12ac9b213ef3e8ecebc0c3052ec7e0e8bd7a31c.tar
archinstall-e12ac9b213ef3e8ecebc0c3052ec7e0e8bd7a31c.tar.zst
archinstall-e12ac9b213ef3e8ecebc0c3052ec7e0e8bd7a31c.zip
Test for new check_bootmode.sh.
Diffstat (limited to 'stages')
-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