update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='3.8.128-04232023'
|
VERS='3.8.131-04232023'
|
||||||
|
|
||||||
MMFOLDER="/opt/idssys/mediamanager"
|
MMFOLDER="/opt/idssys/mediamanager"
|
||||||
MMSRV=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
|
MMSRV=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
|
||||||
|
|||||||
@@ -279,7 +279,7 @@ MMSTART(){
|
|||||||
echo -en "${idsCL[LightCyan]}${msg}${spc} ${idsCL[White]}: ${idsCL[Default]}"
|
echo -en "${idsCL[LightCyan]}${msg}${spc} ${idsCL[White]}: ${idsCL[Default]}"
|
||||||
|
|
||||||
### CHECK FOR PLEX MOUNT
|
### 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
|
echo "$(date) - Plex Media Not Mounted, will try and mount" >> $logfile
|
||||||
umount ${PLEX_MOUNT} >/dev/null 2>&1
|
umount ${PLEX_MOUNT} >/dev/null 2>&1
|
||||||
sleep 2s
|
sleep 2s
|
||||||
|
|||||||
Reference in New Issue
Block a user