dotfiles/.local/bin/scripts/vpn
2024-02-20 19:54:51 +01:00

3 lines
108 B
Bash
Executable file

#!/bin/sh -e
test -f "$1" || cd "$XDG_DATA_HOME/openvpn"
tmux new-session -s "$@" "sudo openvpn $@ || read"