rename: func vpn to wg-toggle
This commit is contained in:
parent
73ae714dfb
commit
2aafcf969d
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user