This commit is contained in:
2024-06-30 12:57:39 -05:00
parent a6fcb7ea03
commit 7d018f1067
2 changed files with 8 additions and 4 deletions

View File

@@ -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 '

View File

@@ -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