update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='3.8.124-04232023'
|
VERS='3.8.125-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)
|
||||||
|
|||||||
@@ -304,9 +304,11 @@ MMSTART(){
|
|||||||
echo "$(date) - Plex Media could not be mounted" >> $logfile
|
echo "$(date) - Plex Media could not be mounted" >> $logfile
|
||||||
fi
|
fi
|
||||||
echo -e "${idsCL[Red]}Not Mounted${idsCL[Default]}"
|
echo -e "${idsCL[Red]}Not Mounted${idsCL[Default]}"
|
||||||
for srvc in "${SERVICES_CHECK[@]}"; do
|
if [ ! -f ${MMFOLDER}/mm.noservices ]; then
|
||||||
/bin/systemctl stop ${srvc} >/dev/null 2>&1 &
|
for srvc in "${SERVICES_CHECK[@]}"; do
|
||||||
done
|
/bin/systemctl stop ${srvc} >/dev/null 2>&1 &
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
echo -e "${idsCL[Green]}Mounted, fixed${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Mounted, fixed${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user