Update mm-scripts.sh

This commit is contained in:
2022-06-05 18:05:45 -05:00
parent 2ed6d1b631
commit ec010b7be5

View File

@@ -28,6 +28,7 @@ SERVICES_CHECK=(${SERVICESCHECK})
unset IFS
MMSTART(){
[ $VERBOSE = true ] && chktmstart=`date +%s`
if [ "${1}" = "start" ]; then
mmsv='Starting'
echo
@@ -167,6 +168,11 @@ MMSTART(){
fi
echo
if [ $VERBOSE = true ]; then
chktmend=`date +%s`
chktm=$((chktmend-chktmstart))
echo "$(date) - ${mmsv} Runtime: ${chktm}" >> $logfile
fi
}
MMSTOP(){