Finished automatic mount draft
This commit is contained in:
@@ -2,9 +2,8 @@
|
||||
source "$(dirname "$(readlink -f "${0}")")/base.sh" || (echo "Loading base.sh failed." && exit 1)
|
||||
echo "Mounts encrypted storages"
|
||||
|
||||
set_device_mount_and_mapper_paths
|
||||
set_device_mount_partition_and_mapper_paths
|
||||
|
||||
partition_path="$device_path""1"
|
||||
info "Unlock partition..." &&
|
||||
sudo cryptsetup luksOpen $partition_path $mapper_name ||
|
||||
error
|
||||
|
||||
Reference in New Issue
Block a user