First load disk_configuration then check for encryption key

This commit is contained in:
oddlama 2021-05-31 17:23:55 +02:00
parent 23ec84eef2
commit 0f0463ac15
No known key found for this signature in database
GPG Key ID: 14EFE510775FE39A
1 changed files with 3 additions and 1 deletions

View File

@ -47,10 +47,12 @@ function check_config() {
} }
function preprocess_config() { function preprocess_config() {
disk_configuration
# Check encryption key if used # Check encryption key if used
[[ $USED_ENCRYPTION == "true" ]] \ [[ $USED_ENCRYPTION == "true" ]] \
&& check_encryption_key && check_encryption_key
disk_configuration
check_config check_config
} }