mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-14 11:31:04 +01:00
10 lines
365 B
Bash
10 lines
365 B
Bash
#!/bin/bash
|
|
#
|
|
# Locks the data
|
|
# @author Kevin Veen-Birkenbach [aka. Frantz]
|
|
#
|
|
# shellcheck source=/dev/null # Deactivate SC1090
|
|
source "$(dirname "$(readlink -f "${0}")")/base.sh"
|
|
echo "Locking directory $DECRYPTED_PATH..."
|
|
fusermount -u "$DECRYPTED_PATH" && echo "Data is now encrypted." && echo "Removing directory $DECRYPTED_PATH..." && rmdir "$DECRYPTED_PATH"
|