From e3d8a5d891a9c69f0abfcba04c93742c4d2a00aa Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 23 Oct 2023 10:24:20 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/powerwall.sh b/powerwall.sh index 25fc270b..d4f6b023 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -16,6 +16,7 @@ VERBOSE=false CHECKTEMP(){ + start=`date +%s` cw=25; echo # echo -e "${idsCL[Yellow]}Sensor Temperature(s) ${idsCL[Green]}normal${idsCL[Default]} /${idsCL[Yellow]}warning${idsCL[Default]}/ ${idsCL[Red]}critical${idsCL[Default]}" @@ -87,7 +88,7 @@ CHECKTEMP(){ echo fi done - + end=`date +%s`; runtime=$((end-start)); echo -e "\nruntime: ${runtime}" [ "${action}" != "" ] && echo }