Update temp.inc.sh
This commit is contained in:
@@ -164,7 +164,8 @@ CHECKTEMP(){
|
|||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${PW_SENSOR_TYPE[${SENSOR}]}" != "esxi" ] && [ "${temptype}" != "esxi" ] && [ "${temptype}" != "fans" ]; then
|
if [ "${temptype}" != "fans" ] || ([ "${temptype}" == "fans" ] && [[ "${sensorname}" = *"Exhaust"* ]]); then
|
||||||
|
if [ "${PW_SENSOR_TYPE[${SENSOR}]}" != "esxi" ] && [ "${temptype}" != "esxi" ] && ([ "${temptype}" != "fans" ] || ([ "${temptype}" == "fans" ] && [[ "${SENSOR}" = *"Room"* ]])); then
|
||||||
[ "${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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user