From efeb230c33270ff61a4501b14f98f41f6730dba7 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 25 Mar 2023 09:16:31 -0500 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index 84f4123..75e1028 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -409,12 +409,12 @@ MMSTATUS(){ echo -en " ${NM_SERVICES[${srvc}]}$spc: " if [ "$(systemctl is-active ${srvc})" != "active" ] && [ "${srvc}" != "wireguard" ]; then - if [ ! -f ${MMFOLDER}/mm.noservices ] && [ ! -f ${MMFOLDER}/mm.plexmount.fail ]; then - echo -e "${idsCL[Red]}Not Running${idsCL[Default]}" - elif [ ! -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 echo -e "${idsCL[Red]}Skipping, Plex Media not mounted${idsCL[Default]}" + else + echo -e "${idsCL[Red]}Not Running${idsCL[Default]}" fi elif [ "${srvc}" == "wireguard" ] && [ "$(/sbin/ip link | grep $VPN_INTERFACE)" == "" ]; then @@ -487,7 +487,6 @@ MMSTATUS(){ echo - else fi fi