7 lines
152 B
Bash
Executable file
7 lines
152 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
mkdir -p ~/.vault
|
|
sudo cryptsetup luksOpen ~/vaults/vault.img vault
|
|
sudo mount /dev/mapper/vault ~/.vault
|
|
sudo chown $USER ~/.vault
|