Generic update.
This commit is contained in:
parent
de255e55d7
commit
868fbb687b
5 changed files with 107 additions and 3 deletions
17
vpn
Executable file
17
vpn
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue