Update temp.inc.sh
This commit is contained in:
@@ -173,7 +173,7 @@ CHECKTEMPSENSOR(){
|
|||||||
echo -e "${spc}[${spcw}${idsCL[Yellow]}${temp_warn}${GAUGESH}${idsCL[Default]} /${spcc}${idsCL[LightRed]}${temp_crit}${GAUGESH}=>${idsCL[Default]} ]"
|
echo -e "${spc}[${spcw}${idsCL[Yellow]}${temp_warn}${GAUGESH}${idsCL[Default]} /${spcc}${idsCL[LightRed]}${temp_crit}${GAUGESH}=>${idsCL[Default]} ]"
|
||||||
|
|
||||||
if [ "${1}" == "ServerRoomTH" ]; then
|
if [ "${1}" == "ServerRoomTH" ]; then
|
||||||
ServerRoomTH=${temp_f}
|
export ServerRoomTH=${temp_f}
|
||||||
|
|
||||||
elif [ "${1}" == "ServerRoomLA" ]; then
|
elif [ "${1}" == "ServerRoomLA" ]; then
|
||||||
temp_probe_f=$(bc <<< "scale=2; ${temp_probe_c}*1.8+32")
|
temp_probe_f=$(bc <<< "scale=2; ${temp_probe_c}*1.8+32")
|
||||||
|
|||||||
Reference in New Issue
Block a user