Update temp.inc.sh
This commit is contained in:
@@ -126,7 +126,7 @@ CHECKTEMP(){
|
|||||||
reading="${lclr}${lmd}${spct}${temp_f_disp}${GAUGESH}"
|
reading="${lclr}${lmd}${spct}${temp_f_disp}${GAUGESH}"
|
||||||
else
|
else
|
||||||
temp_f=""
|
temp_f=""
|
||||||
temp_f_disp=" "
|
temp_f_disp=" "
|
||||||
lclr="${idsCL[Yellow]}"
|
lclr="${idsCL[Yellow]}"
|
||||||
lmd=""
|
lmd=""
|
||||||
reading="${idsCL[Yellow]}Sensor Offline "
|
reading="${idsCL[Yellow]}Sensor Offline "
|
||||||
@@ -148,7 +148,7 @@ CHECKTEMP(){
|
|||||||
else
|
else
|
||||||
averagedisp="${idsCL[Green]}${average_disp}"
|
averagedisp="${idsCL[Green]}${average_disp}"
|
||||||
fi
|
fi
|
||||||
echo -en "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${reading} /${spca}${averagedisp}${GAUGESH}"
|
echo -en "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${reading} ${idsCL[Default]}/${spca}${averagedisp}${GAUGESH}"
|
||||||
fi
|
fi
|
||||||
if [ "${average}" != "" ] || ([ "${temp_c}" != "null" ] && [ "${temp_c}" != "" ]) && [[ "${SENSOR}" != *"FAN"* ]]; then
|
if [ "${average}" != "" ] || ([ "${temp_c}" != "null" ] && [ "${temp_c}" != "" ]) && [[ "${SENSOR}" != *"FAN"* ]]; then
|
||||||
tmp="${spct}${temp_f_disp}${GAUGESH}"
|
tmp="${spct}${temp_f_disp}${GAUGESH}"
|
||||||
|
|||||||
Reference in New Issue
Block a user