Solved bug

This commit is contained in:
Kevin Veen-Birkenbach 2020-12-20 22:26:46 +01:00
parent 0b0e34ac04
commit 35d67a63c8

View File

@ -3,7 +3,7 @@
# shellcheck disable=SC2154 # Referenced but not assigned # shellcheck disable=SC2154 # Referenced but not assigned
source "$(dirname "$(readlink -f "${0}")")/base.sh" || (echo "Loading base.sh failed." && exit 1) source "$(dirname "$(readlink -f "${0}")")/base.sh" || (echo "Loading base.sh failed." && exit 1)
info "Automount raid1 encrypted storages..." && info "Automount raid1 encrypted storages..." &&
set_device_mount_partition_and_mapper_paths && set_raid1_devices_mount_partition_and_mapper_paths &&
create_luks_key_and_update_cryptab "$mapper_name_1" "$partition_path_1" && create_luks_key_and_update_cryptab "$mapper_name_1" "$partition_path_1" &&
create_luks_key_and_update_cryptab "$mapper_name_2" "$partition_path_2" && create_luks_key_and_update_cryptab "$mapper_name_2" "$partition_path_2" &&
update_fstab "$mapper_path_1" "$mount_path_1" && update_fstab "$mapper_path_1" "$mount_path_1" &&