update
This commit is contained in:
@@ -43,6 +43,10 @@ unset IFS
|
||||
|
||||
cw_spc=40
|
||||
|
||||
MMCRONCHECK(){
|
||||
[ -f ${MMFOLDER}/mm.stop ] && /usr/local/bin/mm check q >/dev/null 2>&1 || /usr/local/bin/mm check q >> /opt/idssys/mediamanager/logs/outputs.check.log
|
||||
exit 0
|
||||
}
|
||||
|
||||
MMSTART(){
|
||||
[ $VERBOSE = true ] && chktmstart=`date +%s`
|
||||
@@ -1315,6 +1319,8 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
|
||||
fi
|
||||
case $action in
|
||||
start | check)
|
||||
[ "${2}" == "cron" ] && MMCRONCHECK
|
||||
|
||||
if [ -f ${MMFOLDER}/mm.stop ] && [ "${action}" == "check" ]; then
|
||||
if [ "${2}" != "q" ]; then
|
||||
echo -e "${stopmsg}"
|
||||
|
||||
Reference in New Issue
Block a user