Update temp.inc.sh

This commit is contained in:
2023-12-26 17:24:01 -06:00
parent 0e32948012
commit d13289323c

View File

@@ -74,7 +74,7 @@ CHECKTEMP(){
fi
if [ "${PW_SENSOR_TYPE[${SENSOR}]}" != "esxi" ] && [ "${temptype}" != "esxi" ]; then
[ "${last_sensor}" != "" ] && [ "${last_sensor}" == "${SENSOR%%-*}" ] && echo -en "\033[1A"
[ "${last_sensor}" == "${SENSOR%%-*}" ] && echo -en "\033[1A"
c=0; spc=''; spc1=`expr ${cw} - ${#SENSOR}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
if [ ! -f ${PW_TMPFOLDER}/${SENSOR}.down ]; then
echo -en "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${idsCL[Yellow]}"