rename: func vpn to wg-toggle

This commit is contained in:
TheK4n 2022-05-23 22:27:11 +03:00
parent 73ae714dfb
commit 2aafcf969d

View File

@ -152,7 +152,7 @@ py() {
} }
# toggle wireguard vpn with interface /etc/wireguard/wg0.conf # toggle wireguard vpn with interface /etc/wireguard/wg0.conf
vpn() { wg-toggle() {
local STATUS SERVICE CONFIG CONFIGFILE local STATUS SERVICE CONFIG CONFIGFILE
CONFIG="wg0" CONFIG="wg0"
CONFIGFILE="/etc/wireguard/$CONFIG.conf" CONFIGFILE="/etc/wireguard/$CONFIG.conf"