Update mm-scripts.sh

This commit is contained in:
2023-03-07 20:44:54 -06:00
parent 1a26c84b5b
commit b8c5998e8b

View File

@@ -43,6 +43,9 @@ MMSTART(){
SENDNOTICE "Starting Media Management Systems" ""
echo "$(date) - Starting Media Management system - (fresh start)" >> $logfile
echo -e "${idsCL[LightCyan]}Fresh startup${idsCL[Default]}"
if [ -f ${MMFOLDER}/mm.stop.checking ]; then
rm -f ${MMFOLDER}/mm.stop*
fi
elif [ "${1}" = "check" ] && [ "$(ip link | grep "${VPN_INTERFACE}")" = "" ] && [ -f ${MMFOLDER}/mm.vpn* ]; then
GOFORSTART=true;