Update temp.inc.sh
This commit is contained in:
@@ -158,8 +158,8 @@ CHECKTEMPSENSOR(){
|
|||||||
fi
|
fi
|
||||||
(( $(bc <<<"${temp_f} < 1") )) && [[ "${temp_f}" = *"."* ]] && temp_f="0${temp_f}"
|
(( $(bc <<<"${temp_f} < 1") )) && [[ "${temp_f}" = *"."* ]] && temp_f="0${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
|
||||||
|
|
||||||
if [ "${average}" != "" ]; then
|
if [ "${average}" != "" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user