rename: func wg-toggle to vpn

This commit is contained in:
TheK4n 2022-05-24 00:11:08 +03:00
parent a131560bb3
commit 4abfb7f44b

View File

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