vpn-commands

This commit is contained in:
2022-02-12 21:49:02 -06:00
parent 1c1373e65f
commit 2881040605
2 changed files with 6 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ MMSTART(){
fi
echo
echo -en "${idsCL[LightCyan]}${mmsv} VPN Tunnel... ${idsCL[Default]}"
/bin/systemctl start openvpn
`${VPN_START}`
checked=false
cc=0
until [ "${checked}" = "" ]; do
@@ -111,7 +111,7 @@ MMSTOP(){
echo -e "${idsCL[Green]} done${idsCL[Default]}"
echo
echo -en "${idsCL[LightCyan]}${mmsv} VPN Tunnel... ${idsCL[Default]}"
/bin/systemctl stop openvpn
`${VPN_STOP}`
echo -e "${idsCL[Green]} done${idsCL[Default]}"
echo
echo -e "${idsCL[Red]}All services have been stopped${idsCL[Default]}"