Update temp.inc.sh
This commit is contained in:
@@ -470,7 +470,7 @@ CHECKTEMP(){
|
|||||||
lclr="${idsCL[LightCyan]}"
|
lclr="${idsCL[LightCyan]}"
|
||||||
lmd=" "
|
lmd=" "
|
||||||
fi
|
fi
|
||||||
c=0; spct=''; spc1=`expr 13 - ${#temp_f}`; until [ ${c} = ${spc1} ]; do spct="${spct} "; ((c++)); done
|
c=0; spct=''; spc1=`expr 7 - ${#temp_f}`; until [ ${c} = ${spc1} ]; do spct="${spct} "; ((c++)); done
|
||||||
reading="${lclr}${lmd}${spct}${temp_f}${GAUGESH}"
|
reading="${lclr}${lmd}${spct}${temp_f}${GAUGESH}"
|
||||||
echo -en "${idsCL[LightCyan]} ${sensorname}${spc}${idsCL[Default]}: ${reading} "
|
echo -en "${idsCL[LightCyan]} ${sensorname}${spc}${idsCL[Default]}: ${reading} "
|
||||||
|
|
||||||
@@ -524,7 +524,7 @@ CHECKTEMP(){
|
|||||||
if [ "${TTYPE}" == "fans" ]; then
|
if [ "${TTYPE}" == "fans" ]; then
|
||||||
if [[ "${sensorname}" = *"Exhaust"* ]]; then
|
if [[ "${sensorname}" = *"Exhaust"* ]]; then
|
||||||
tmp="${lmd}${spct}${temp_f}${GAUGESH}"
|
tmp="${lmd}${spct}${temp_f}${GAUGESH}"
|
||||||
c=0; spc=''; spc1=`expr ${fws} - ${#tmp} + 5`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done
|
c=0; spc=''; spc1=`expr ${fws} - ${#tmp} + 10`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done
|
||||||
echo -e "${spc}${idsCL[Default]}[ ${idsCL[Green]}${GL_LOW}°F${idsCL[Default]} <--> ${idsCL[LightYellow]}${GL_HIGH}°F${idsCL[Default]} ]"
|
echo -e "${spc}${idsCL[Default]}[ ${idsCL[Green]}${GL_LOW}°F${idsCL[Default]} <--> ${idsCL[LightYellow]}${GL_HIGH}°F${idsCL[Default]} ]"
|
||||||
else
|
else
|
||||||
echo -e ""
|
echo -e ""
|
||||||
|
|||||||
Reference in New Issue
Block a user