Update temp.inc.sh

This commit is contained in:
2023-12-22 19:50:52 -06:00
parent d8c23d5893
commit c61d5d787d

View File

@@ -71,8 +71,8 @@ CHECKTEMP(){
# fi # fi
fi fi
echo echo
fi
elif [ "${PW_SENSOR_TYPE[${SENSOR}]}" != "esxi" ] && [ "${temptype}" != "esxi" ]; then if [ "${PW_SENSOR_TYPE[${SENSOR}]}" != "esxi" ] && [ "${temptype}" != "esxi" ]; then
[[ "${SENSOR}" == *"CPU-Usage"* ]] && echo -en "\033[1A" [[ "${SENSOR}" == *"CPU-Usage"* ]] && echo -en "\033[1A"
c=0; spc=''; spc1=`expr ${cw} - ${#SENSOR}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done 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 if [ ! -f ${PW_TMPFOLDER}/${SENSOR}.down ]; then
@@ -86,7 +86,6 @@ CHECKTEMP(){
echo echo
fi fi
fi fi
fi
done done
end=`date +%s`; runtime=$((end-start)); echo -e "\nruntime: ${runtime}" end=`date +%s`; runtime=$((end-start)); echo -e "\nruntime: ${runtime}"
[ "${PW_ACTION}" != "" ] && echo -e "${idsCL[Default]}" [ "${PW_ACTION}" != "" ] && echo -e "${idsCL[Default]}"