Added draft for storage encryption procedures

This commit is contained in:
Kevin Veen-Birkenbach [aka. Frantz] committed 2020-05-20 10:35:37 +02:00
1 parent 78bee8d0cc
commit 7f629205ef
11 files changed
+99 -30

No files matched your search

+2 -2
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