From 0ef5484d2872ea5f9727396d3dc0f20ac04fc567 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 18 Mar 2023 22:19:39 -0500 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index 823e7ea..e503aa8 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -38,7 +38,7 @@ MMSTART(){ if [ "${1}" = "start" ] || [ "${1}" = "restart" ] || [ "${1}" = "" ]; then GOFORSTART=true; - elif [ "${1}" = "check" ] && [ "$(ip link | grep "${VPN_INTERFACE}")" = "" ] && [ ! -f ${MMFOLDER}/mm.vpn* ]; then + elif [ "${1}" = "check" ] && [ "$(ip link | grep "${VPN_INTERFACE}")" = "" ] && [ ! -f ${MMFOLDER}/mm.vpn* ] && [ ! -f ${MMFOLDER}/vpninfo* ]; then GOFORSTART=true; SENDNOTICE "Starting Media Management Systems" "" echo "$(date) - Starting Media Management system - (fresh start)" >> $logfile