From 16b6c02f606b7db1bec4d1bf7caac1c38c79a5da Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 31 Jan 2024 08:38:00 -0600 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index fba4f866..7db54dac 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -66,9 +66,9 @@ CHECKTEMP(){ else avgdays=noavg fi - DIVIDER . yellow 70 if [ "${temptype}" != "esxi" ]; then + DIVIDER . yellow 70 if [ "${avgdays}" != "noavg" ]; then echo -e "${idsCL[Cyan]}Sensor Temperature(s) Current / ${idsCL[LightYellow]}${avgdays_disp}AVG ${idsCL[Yellow]}warning${idsCL[Default]} / ${idsCL[LightRed]}critical${idsCL[Default]}" else @@ -104,10 +104,11 @@ CHECKTEMP(){ last_sensor=${SENSOR%%-*} fi done - DIVIDER true yellow 70 + DIVIDER . yellow 70 fi if [ "${temptype}" != "sensors" ]; then + DIVIDER . yellow 70 if [ "${avgdays}" != "noavg" ]; then echo -e "${idsCL[Cyan]}ESXi Sensor Temperature(s) Current / ${idsCL[LightYellow]}${avgdays_disp}AVG ${idsCL[Yellow]}warning${idsCL[Default]} / ${idsCL[LightRed]}critical${idsCL[Default]}" else