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