Update status.inc

This commit is contained in:
2023-05-22 22:09:58 -05:00
parent f71bf100c6
commit b9d1280e08

View File

@@ -12,7 +12,7 @@ STATUS(){
ST_ACTION=repl ST_ACTION=repl
fi fi
declare -i cw; declare -i spc1; declare -i c declare -i cw; declare -i spc1; declare -i c
echo "$(date) - LOCAL - ${NODE_HOSTNAME} - Starting Status Check" >> ${LOGFILE}
######################## ########################
if [ "${ST_ACTION}" == "report" ] || [ "${ST_ACTION}" == "repl" ] || [ "${ST_ACTION}" == "check" ] || [ "${ST_ACTION}" == "" ]; then if [ "${ST_ACTION}" == "report" ] || [ "${ST_ACTION}" == "repl" ] || [ "${ST_ACTION}" == "check" ] || [ "${ST_ACTION}" == "" ]; then
if [ "${ST_ACTION}" != "check" ]; then if [ "${ST_ACTION}" != "check" ]; then
@@ -665,7 +665,7 @@ STATUS(){
fi fi
######################## ########################
######################## ########################
echo "$(date) - LOCAL - ${NODE_HOSTNAME} - Completed Status Check" >> ${LOGFILE}
if [ "${ST_ACTION}" != "check" ]; then if [ "${ST_ACTION}" != "check" ]; then
echo "" echo ""
if [ -z $action ] || [ "${action}" = "gui" ]; then if [ -z $action ] || [ "${action}" = "gui" ]; then