Update temp.inc.sh
This commit is contained in:
@@ -142,9 +142,8 @@ CHECKTEMPSENSOR(){
|
|||||||
temp_f=`echo "scale=1; ${temp_f}+${PW_ServerRoomTH_Dev}" | bc`
|
temp_f=`echo "scale=1; ${temp_f}+${PW_ServerRoomTH_Dev}" | bc`
|
||||||
elif [ "${1}" == "ServerRoomLA" ]; then
|
elif [ "${1}" == "ServerRoomLA" ]; then
|
||||||
temp_f=${temp_c}
|
temp_f=${temp_c}
|
||||||
echo "HERE2: ${temp_f}"
|
|
||||||
fi
|
fi
|
||||||
echo "HERE: '${temp_c}' -> '${temp_f}'"
|
# echo "HERE: '${temp_c}' -> '${temp_f}'"
|
||||||
# echo -en ""
|
# echo -en ""
|
||||||
c=0; spct=''; spc1=`expr 6 - ${#temp_f}`; until [ ${c} = ${spc1} ]; do spct="${spct} "; c=`expr ${c} + 1`; done
|
c=0; spct=''; spc1=`expr 6 - ${#temp_f}`; until [ ${c} = ${spc1} ]; do spct="${spct} "; c=`expr ${c} + 1`; done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user