Update mm-scripts.sh
This commit is contained in:
@@ -676,12 +676,12 @@ MMSTATUS(){
|
|||||||
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||||
echo -en "${idsCL[White]}${msg}${spc}${idsCL[White]} : ${idsCL[Default]}"
|
echo -en "${idsCL[White]}${msg}${spc}${idsCL[White]} : ${idsCL[Default]}"
|
||||||
|
|
||||||
if [ ! -f ${PLEX_MOUNT}/mounted ] && [ ! -f ${MMFOLDER}/mm.plexmount.fail2 ]; then
|
if [ -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, running services as chosen previously${idsCL[Default]}"
|
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
|
else
|
||||||
echo -e "${idsCL[Green]}Mounted${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Mounted${idsCL[Default]}"
|
||||||
rm -f ${MMFOLDER}/mm.plexmount.fail*
|
rm -f ${MMFOLDER}/mm.plexmount.fail*
|
||||||
|
|||||||
Reference in New Issue
Block a user