Added draft for storage encryption procedures

This commit is contained in:
2020-05-20 10:35:37 +02:00
parent 78bee8d0cc
commit 7f629205ef
11 changed files with 99 additions and 30 deletions

View File

@@ -18,11 +18,11 @@ declare -a BACKUP_LIST=("$HOME/.ssh/" \
"$HOME/Documents/identity/" \
"$HOME/Documents/passwords/" \
"$HOME/Documents/licenses/");
if [ -z "$(mount | grep "$DECRYPTED_PATH")" ]
then
info "The decrypted folder $DECRYPTED_PATH is locked. You need to unlock it!" &&
bash "$SCRIPT_PATH""encryption/unlock.sh" || error "Unlocking failed.";
bash "$SCRIPT_PATH""encryption/data/unlock.sh" || error "Unlocking failed.";
fi
if [ "$1" = "reverse" ]
then