Update mm-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user