Update mm-scripts.sh
This commit is contained in:
@@ -409,9 +409,9 @@ MMSTATUS(){
|
|||||||
echo -en " ${NM_SERVICES[${srvc}]}$spc: "
|
echo -en " ${NM_SERVICES[${srvc}]}$spc: "
|
||||||
|
|
||||||
if [ "$(systemctl is-active ${srvc})" != "active" ] && [ "${srvc}" != "wireguard" ]; then
|
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]}"
|
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]}"
|
echo -e "${idsCL[Red]}Skipping, Plex Media not mounted${idsCL[Default]}"
|
||||||
else
|
else
|
||||||
echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
|
echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user