dotfiles/tools/mount-vault
2016-10-16 12:52:05 +02:00

7 lines
155 B
Bash
Executable file

#!/bin/bash
set -e
mkdir -p ~/.vault
sudo cryptsetup luksOpen ~/Nextcloud/vault.img vault
sudo mount /dev/mapper/vault ~/.vault
sudo chown $USER ~/.vault