Generic update.

This commit is contained in:
Crony Akatsuki 2023-02-22 19:17:52 +01:00
parent de255e55d7
commit 868fbb687b
5 changed files with 107 additions and 3 deletions

17
vpn Executable file
View file

@ -0,0 +1,17 @@
#!/bin/sh
up () {
transmission-remote --exit
sudo wg-quick up myvpn
exit
}
down () {
sudo wg-quick down myvpn
start-program transmission-daemon
exit
}
[ "$1" = "up" ] && up
[ "$1" = "down" ] && down
exit 1