Update mm-scripts.sh

This commit is contained in:
2023-04-22 15:20:19 -05:00
parent 9de6b5e4d7
commit 22ed547b6d

View File

@@ -14,6 +14,13 @@ source /opt/idssys/defaults/default.inc
source /opt/idssys/mediamanager/settings.conf
source /opt/idssys/mediamanager/defaults.inc
if [ "${2}" == "q" ]; then
unset idsCL idsBG idsST
idsCL=('')
idsBG=('')
idsST=('')
fi
[ -f ${MMFOLDER}/vpninfo ] && source ${MMFOLDER}/vpninfo
if [ "${action}" != "check" ] && [ "${action}" != "update" ] && [ "${2}" != "noup" ]; then
@@ -36,12 +43,6 @@ cw_spc=40
MMSTART(){
[ $VERBOSE = true ] && chktmstart=`date +%s`
if [ "${1}" == "check" ] && [ "${2}" == "q" ]; then
unset idsCL idsBG idsST
idsCL=('')
idsBG=('')
idsST=('')
fi
if [ "${1}" = "start" ] || [ "${1}" = "restart" ] || [ "${1}" = "" ]; then
GOFORSTART=true;