Update mm-scripts.sh

This commit is contained in:
2023-03-25 09:17:06 -05:00
parent efeb230c33
commit 628597603c

View File

@@ -409,9 +409,9 @@ MMSTATUS(){
echo -en " ${NM_SERVICES[${srvc}]}$spc: "
if [ "$(systemctl is-active ${srvc})" != "active" ] && [ "${srvc}" != "wireguard" ]; then
if [ ! -f ${MMFOLDER}/mm.noservices ]; then
if [ -f ${MMFOLDER}/mm.noservices ]; then
echo -e "${idsCL[Red]}Skipping, started wtih VPN only${idsCL[Default]}"
elif [ ! -f ${MMFOLDER}/mm.plexmount.fail ]; then
elif [ -f ${MMFOLDER}/mm.plexmount.fail ]; then
echo -e "${idsCL[Red]}Skipping, Plex Media not mounted${idsCL[Default]}"
else
echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"