More portable vault mount
This commit is contained in:
parent
19a1b8efe1
commit
99008af1a3
1 changed files with 2 additions and 2 deletions
|
@ -8,13 +8,13 @@ fi
|
|||
|
||||
MOUNT_TARGET=$2
|
||||
if [[ -z "$MOUNT_TARGET" ]]; then
|
||||
MOUNT_TARGET=~/.vault
|
||||
MOUNT_TARGET=$HOME/.vault
|
||||
fi
|
||||
mkdir -p "$MOUNT_TARGET"
|
||||
|
||||
MOUNT_SOURCE=$1
|
||||
if [[ -z "$MOUNT_SOURCE" ]]; then
|
||||
MOUNT_SOURCE="~/vaults/vault.vera"
|
||||
MOUNT_SOURCE="$HOME/vaults/vault.vera"
|
||||
fi
|
||||
|
||||
if [[ -z "$VAULT_PASSWORD" ]]; then
|
||||
|
|
Loading…
Reference in a new issue