dotfiles/tools/umount-vault

9 lines
169 B
Plaintext
Raw Normal View History

#!/bin/bash
set -e
VERACRYPT="veracrypt"
if [[ "$OSTYPE" == "darwin"* ]]; then
VERACRYPT="/Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt"
fi
$VERACRYPT -t -d