This commit is contained in:
TheK4n 2022-05-23 21:57:19 +03:00
parent 2f49aa7b3b
commit c49823c8b1

View File

@ -151,6 +151,7 @@ py() {
test -z "$@" && ipython -i -c "q = exit" || python3 $@ test -z "$@" && ipython -i -c "q = exit" || python3 $@
} }
# toggle wireguard vpn with interface /etc/wireguard/wg0.conf
vpn() { vpn() {
local STATUS SERVICE local STATUS SERVICE
SERVICE="wg-quick@wg0.service" SERVICE="wg-quick@wg0.service"