mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-14 03:21:03 +01:00
7 lines
310 B
Bash
7 lines
310 B
Bash
#!/bin/bash
|
|
# Locks the data
|
|
# @author Kevin Veen-Birkenbach [aka. Frantz]
|
|
DECRYPTED=$(readlink -f "$(dirname "$(readlink -f "${0}")")/../data");
|
|
echo "Locking directory $DECRYPTED..."
|
|
fusermount -u "$DECRYPTED" && echo "Data is now encrypted." && echo "Removing directory $DECRYPTED..." && rmdir "$DECRYPTED"
|