Update mm-scripts.sh

This commit is contained in:
2023-04-27 14:14:35 -05:00
parent 11f5447749
commit 5ee876ab24

View File

@@ -676,12 +676,12 @@ MMSTATUS(){
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
echo -en "${idsCL[White]}${msg}${spc}${idsCL[White]} : ${idsCL[Default]}"
if [ ! -f ${PLEX_MOUNT}/mounted ] && [ ! -f ${MMFOLDER}/mm.plexmount.fail2 ]; then
echo -e "${idsCL[Red]}Not Mounted${idsCL[Default]}"
elif [ -f ${MMFOLDER}/mm.plexmount.fail2 ]; then
if [ -f ${MMFOLDER}/mm.plexmount.fail2 ]; then
echo -e "${idsCL[Red]}Not Mounted, running services as chosen previously${idsCL[Default]}"
elif [ ! -f ${PLEX_MOUNT}/mounted ]; then
echo -e "${idsCL[Red]}Not Mounted${idsCL[Default]}"
else
echo -e "${idsCL[Green]}Mounted${idsCL[Default]}"
rm -f ${MMFOLDER}/mm.plexmount.fail*