From 0f0463ac15ebaab3301fd4a229f9ae1e88114bf2 Mon Sep 17 00:00:00 2001 From: oddlama Date: Mon, 31 May 2021 17:23:55 +0200 Subject: [PATCH] First load disk_configuration then check for encryption key --- scripts/functions.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/functions.sh b/scripts/functions.sh index a809085..62ced89 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -47,10 +47,12 @@ function check_config() { } function preprocess_config() { + disk_configuration + # Check encryption key if used [[ $USED_ENCRYPTION == "true" ]] \ && check_encryption_key - disk_configuration + check_config }