Update mm-scripts.sh
This commit is contained in:
@@ -268,6 +268,7 @@ MMSTART(){
|
|||||||
sleep 2s
|
sleep 2s
|
||||||
|
|
||||||
files=$(shopt -s nullglob dotglob; echo ${PLEX_MOUNT}/*)
|
files=$(shopt -s nullglob dotglob; echo ${PLEX_MOUNT}/*)
|
||||||
|
echo "HERE: $files"
|
||||||
if (( ! ${#files} )); then
|
if (( ! ${#files} )); 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` ))
|
||||||
|
|||||||
Reference in New Issue
Block a user