diff --git a/defaults.inc b/defaults.inc index 9852f377..27b6bab5 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='2.7.66-06302024' +VERS='2.7.67-06302024' noheader=' update service dailytemp confsync -r -report test ' diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index f9b9a736..06e5ebec 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -491,9 +491,11 @@ CHECKTEMP(){ [ ${#temp_warn} == 2 ] && spcw=' ' || spcw=' ' [ ${#temp_crit} == 2 ] && spcc=' ' || spcc=' ' if [ "${TTYPE}" == "fans" ]; then - tmp="${lmd}${spct}${temp_f}${GAUGESH}" - c=0; spc=''; spc1=`expr ${fws} - ${#tmp} + 5`; 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]} ]" + 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 + echo -e "${spc}${idsCL[Default]}[ ${idsCL[Green]}${GL_LOW}°F${idsCL[Default]} <--> ${idsCL[LightYellow]}${GL_HIGH}°F${idsCL[Default]} ]" + fi else tmp="${spct}${temp_f}${GAUGESH}" c=0; spc=''; spc1=`expr ${fws} - ${#tmp}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done @@ -592,6 +594,8 @@ CHECKTEMP(){ echo -e "${idsCL[Default]}" fi + elif [ "${SENSOR}" == "iDS-vMS-Host6" ] && [[ "${sensorname}" = *"Inlet"* ]]; then + echo -e "${idsCL[LightCyan]} ${sensorname}${spc}${idsCL[Default]}: ${idsCL[LightYellow]}PSU is not compatible${idsCL[Default]}" fi fi fi