From e12ac9b213ef3e8ecebc0c3052ec7e0e8bd7a31c Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 12 Jan 2020 11:41:39 +0100 Subject: Test for new check_bootmode.sh. --- stages/first_stage.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'stages') 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 -- cgit v1.2.3-70-g09d2