Update mm-scripts.sh
This commit is contained in:
@@ -269,7 +269,7 @@ MMSTART(){
|
|||||||
if [ ! -f ${PLEX_MOUNT}/mounted ]; then
|
if [ ! -f ${PLEX_MOUNT}/mounted ]; then
|
||||||
if [ -f ${MMFOLDER}/mm.plexmount.fail ]; then
|
if [ -f ${MMFOLDER}/mm.plexmount.fail ]; then
|
||||||
fd=$(( `date +%s` - `stat -L --format %Y ${MMFOLDER}/mm.plexmount.fail` ))
|
fd=$(( `date +%s` - `stat -L --format %Y ${MMFOLDER}/mm.plexmount.fail` ))
|
||||||
if [ ${fd} -gt 10 ]; then
|
if [ ${fd} -gt 30 ]; then
|
||||||
PMFS=true
|
PMFS=true
|
||||||
else
|
else
|
||||||
PMFS=false
|
PMFS=false
|
||||||
|
|||||||
Reference in New Issue
Block a user