This commit is contained in:
2023-04-27 14:49:00 -05:00
parent 469927bda1
commit 98bd405b57
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='3.8.128-04232023'
VERS='3.8.131-04232023'
MMFOLDER="/opt/idssys/mediamanager"
MMSRV=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)

View File

@@ -279,7 +279,7 @@ MMSTART(){
echo -en "${idsCL[LightCyan]}${msg}${spc} ${idsCL[White]}: ${idsCL[Default]}"
### CHECK FOR PLEX MOUNT
if [ ! -f ${PLEX_MOUNT}/mounted ] && [ "${2}" != "vpn" ] && [ ! -f ${PLEX_MOUNT}/mm.noservices ]; then
if [ ! -f ${PLEX_MOUNT}/mounted ] && [ "${2}" != "vpn" ] && [ ! -f ${MMFOLDER}/mm.noservices ]; then
echo "$(date) - Plex Media Not Mounted, will try and mount" >> $logfile
umount ${PLEX_MOUNT} >/dev/null 2>&1
sleep 2s