From 4abfb7f44b55a7b8a9aea22ec96767a38e428603 Mon Sep 17 00:00:00 2001 From: TheK4n Date: Tue, 24 May 2022 00:11:08 +0300 Subject: [PATCH] rename: func wg-toggle to vpn --- sub/bash/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sub/bash/functions b/sub/bash/functions index c55e23f..0efade7 100644 --- a/sub/bash/functions +++ b/sub/bash/functions @@ -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"