Update temp.inc.sh
This commit is contained in:
@@ -174,6 +174,7 @@ CHECKTEMPSENSOR(){
|
|||||||
|
|
||||||
if [ "${1}" == "ServerRoomLA" ]; then
|
if [ "${1}" == "ServerRoomLA" ]; then
|
||||||
temp_probe_f=$(bc <<< "scale=1; ${temp_probe_c}*1.8+32")
|
temp_probe_f=$(bc <<< "scale=1; ${temp_probe_c}*1.8+32")
|
||||||
|
echo "HERE: ${temp_probe_c} - ${temp_probe_f}"
|
||||||
if [ $(bc -l <<< "${temp_probe_f} >= ${temp_warn}") -eq 1 ] && [ $(bc -l <<< "${temp_probe_f} < ${temp_crit}") -eq 1 ]; then
|
if [ $(bc -l <<< "${temp_probe_f} >= ${temp_warn}") -eq 1 ] && [ $(bc -l <<< "${temp_probe_f} < ${temp_crit}") -eq 1 ]; then
|
||||||
echo -en "${idsCL[Yellow]}WARNING ${spct}${temp_probe_f}${GAUGESH}${idsCL[Default]}"
|
echo -en "${idsCL[Yellow]}WARNING ${spct}${temp_probe_f}${GAUGESH}${idsCL[Default]}"
|
||||||
elif [ $(bc -l <<< "${temp_probe_f} >= ${temp_crit}") -eq 1 ]; then
|
elif [ $(bc -l <<< "${temp_probe_f} >= ${temp_crit}") -eq 1 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user