From 2aafcf969df916e999ff1623a9c7f7694d190c8b Mon Sep 17 00:00:00 2001 From: TheK4n Date: Mon, 23 May 2022 22:27:11 +0300 Subject: [PATCH] rename: func vpn to wg-toggle --- sub/bash/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sub/bash/functions b/sub/bash/functions index 015e67c..6d5c391 100644 --- a/sub/bash/functions +++ b/sub/bash/functions @@ -152,7 +152,7 @@ py() { } # toggle wireguard vpn with interface /etc/wireguard/wg0.conf -vpn() { +wg-toggle() { local STATUS SERVICE CONFIG CONFIGFILE CONFIG="wg0" CONFIGFILE="/etc/wireguard/$CONFIG.conf"