Update temp.inc.sh

This commit is contained in:
2024-02-06 19:26:59 -06:00
parent 9d05e4bda9
commit 003429dc54

View File

@@ -73,7 +73,7 @@ CHECKTEMP(){
DIVIDER . yellow ${PRI_WIDTH}
for SENSOR in ${PW_SENSOR_ORD[@]}; do
if ([ "${search}" == "" ] || [[ "${SENSOR,,}" = *"${search,,}"* ]]) && [ "${PW_SENSOR_TYPE[${SENSOR}]}" != "esxi" ] && ([ "${temptype}" != "fans" ] || ([ "${temptype}" == "fans" ] && [[ "${SENSOR}" = *"Room"* ]])); then
[ "${last_sensor}" == "${SENSOR%%-*}" ] && [ "${SENSOR%%-*}" != "Offsite-Monitor-CPU" ] && echo -en "\033[1A"
[ "${last_sensor}" == "${SENSOR%%-*}" ] && [ "${SENSOR}" != "Offsite-Monitor-CPU" ] && 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]}"