This commit is contained in:
2023-03-24 21:01:29 -05:00
parent 77fee3644e
commit dff703b1e2
2 changed files with 9 additions and 8 deletions

View File

@@ -7,6 +7,11 @@ MMSRV=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
noheader=' check noup stop '
logfile=${MMFOLDER}/logs/logfile
outputlogfile=${MMFOLDER}/logs/outputs.check.log
[ ! -f ${logfile} ] && touch $logfile
[ ! -f ${outputlogfile} ] && touch $outputlogfile
declare -A NM_SERVICES
NM_SERVICES['openvpn']='OpenVPN (TorGuard VPN Tunnel)'
NM_SERVICES['wireguard']='WireGuard (TorGuard VPN Tunnel)'