Update mm-scripts.sh
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user