Update mm-scripts.sh

This commit is contained in:
2023-03-23 22:11:09 -05:00
parent bc9aca234f
commit 67c1d28fb3

View File

@@ -101,7 +101,7 @@ PersistentKeepalive = 25" >> /etc/wireguard/${VPN_INTERFACE}.conf
echo -en "${idsCL[Green]}The VPN Tunnel is already running :${idsCL[Default]}"
fi
else
mmsv='Verifying'
echo -en "${idsCL[LightCyan]}Verifying the VPN Tunnel :${idsCL[Default]}"
fi
[ $VERBOSE = true ] && echo "$(date) - ${mmsv} VPN..." >> $logfile
@@ -143,7 +143,7 @@ PersistentKeepalive = 25" >> /etc/wireguard/${VPN_INTERFACE}.conf
fi
else
if [ ${GOFORSTART} = true ]; then
if [ ${GOFORSTART} = true ] || [ "${1}" == "check" ]; then
echo -e "${idsCL[Green]} done${idsCL[Default]}"
fi