dotfiles/.local/bin/scripts/vpn

4 lines
108 B
Plaintext
Raw Normal View History

2023-04-12 06:35:48 +00:00
#!/bin/sh -e
2023-04-27 12:28:04 +00:00
test -f "$1" || cd "$XDG_DATA_HOME/openvpn"
2024-02-20 18:54:51 +00:00
tmux new-session -s "$@" "sudo openvpn $@ || read"