Update temp.inc.sh

This commit is contained in:
2025-05-31 15:35:41 -05:00
parent 4dc4b0b108
commit 2bd3fad51e

View File

@@ -470,7 +470,7 @@ CHECKTEMP(){
lclr="${idsCL[LightCyan]}"
lmd=" "
fi
c=0; spct=''; spc1=`expr 13 - ${#temp_f}`; until [ ${c} = ${spc1} ]; do spct="${spct} "; ((c++)); done
c=0; spct=''; spc1=`expr 7 - ${#temp_f}`; until [ ${c} = ${spc1} ]; do spct="${spct} "; ((c++)); done
reading="${lclr}${lmd}${spct}${temp_f}${GAUGESH}"
echo -en "${idsCL[LightCyan]} ${sensorname}${spc}${idsCL[Default]}: ${reading} "
@@ -524,7 +524,7 @@ CHECKTEMP(){
if [ "${TTYPE}" == "fans" ]; then
if [[ "${sensorname}" = *"Exhaust"* ]]; then
tmp="${lmd}${spct}${temp_f}${GAUGESH}"
c=0; spc=''; spc1=`expr ${fws} - ${#tmp} + 5`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done
c=0; spc=''; spc1=`expr ${fws} - ${#tmp} + 10`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done
echo -e "${spc}${idsCL[Default]}[ ${idsCL[Green]}${GL_LOW}°F${idsCL[Default]} <--> ${idsCL[LightYellow]}${GL_HIGH}°F${idsCL[Default]} ]"
else
echo -e ""