Update mm-scripts.sh
This commit is contained in:
@@ -324,6 +324,8 @@ MMSTART(){
|
||||
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||
echo -en "${idsCL[LightCyan]}${msg}${spc} ${idsCL[White]}: ${idsCL[Default]}"
|
||||
|
||||
[ "${1}" == "start" ] && [ "${2}" != "vpn" ] && rm -f ${TMPFOLDER}/mm.noservices
|
||||
|
||||
### CHECK FOR PLEX MOUNT
|
||||
if [ ! -f ${PLEX_MOUNT}/mounted ] && [ "${2}" != "vpn" ] && [ ! -f ${TMPFOLDER}/mm.noservices ]; then
|
||||
echo "$(date) - Plex Media Not Mounted, will try and mount" >> $logfile
|
||||
@@ -396,9 +398,7 @@ MMSTART(){
|
||||
|
||||
esac
|
||||
fi
|
||||
|
||||
[ "${1}" == "start" ] && [ "${2}" != "vpn" ] && rm -f ${TMPFOLDER}/mm.noservices
|
||||
|
||||
|
||||
msg="${mmsv} Services"; c=0; spc=''; spc1=$((${cw_spc}-${#msg})); until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||
echo -en "${idsCL[LightCyan]}${msg}${spc} ${idsCL[White]}: ${idsCL[Default]}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user