Solved bug

This commit is contained in:
Kevin Veen-Birkenbach 2020-10-04 19:46:35 +02:00
parent 34b491e2ed
commit 421789f04a

View File

@ -47,6 +47,7 @@ make_working_folder(){
decrypt_root(){
if [ "$(blkid "$root_partition_path" -s TYPE -o value)" == "crypto_LUKS" ]
then
root_partition_uuid=$(blkid "$root_partition_path" -s UUID -o value) &&
root_mapper_name="arch-root-$root_partition_uuid" &&
root_mapper_path="/dev/mapper/$root_mapper_name" &&
info "Decrypting of $root_partition_path is neccessary..." &&