Update mm-scripts.sh
This commit is contained in:
@@ -636,7 +636,20 @@ MMSTATUS(){
|
||||
echo
|
||||
MMSTART
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
### CHECK FOR PLEX MOUNT
|
||||
files=$(shopt -s nullglob dotglob; echo ${PLEX_MOUNT}/*)
|
||||
if (( ! ${#files} )) && [ ! -f ${MMFOLDER}/mm.plexmount.fail2 ]; then
|
||||
echo -e "${idsCL[Red]}Not Mounted${idsCL[Default]}"
|
||||
|
||||
elif [ -f ${MMFOLDER}/mm.plexmount.fail2 ]; then
|
||||
echo -e "${idsCL[Red]}Not Mounted, but running services anyway as chosen previously${idsCL[Default]}"
|
||||
|
||||
else
|
||||
echo -e "${idsCL[Green]}Mounted${idsCL[Default]}"
|
||||
rm -f ${MMFOLDER}/mm.plexmount.fail*
|
||||
fi
|
||||
|
||||
echo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user