Update temp.inc.sh
This commit is contained in:
@@ -682,10 +682,19 @@ SERVERROOM_TEMP_DIFFERENCE(){
|
|||||||
echo -e "${idsCL[LightCyan]}Current Temp Deviation : ${idsCL[LightRed]}${PW_ServerRoomTH_Dev}'F${idsCL[Default]}"
|
echo -e "${idsCL[LightCyan]}Current Temp Deviation : ${idsCL[LightRed]}${PW_ServerRoomTH_Dev}'F${idsCL[Default]}"
|
||||||
|
|
||||||
if [ ${scansfound} -le 500 ]; then
|
if [ ${scansfound} -le 500 ]; then
|
||||||
echo -en "\n${idsCL[LightCyan]}List out these '${scansfound}' scan times? (y/N): ${idsCL[Default]}"
|
if [ ${scansfound} -gt 15 ]; then
|
||||||
read -n1 choice
|
echo -en "\n${idsCL[LightCyan]}List out these '${scansfound}' scan times? (y/N): ${idsCL[Default]}"
|
||||||
if [ "${choice^^}" == "Y" ]; then
|
read -n1 choice
|
||||||
echo -en "\r\033[K"
|
if [ "${choice^^}" == "Y" ]; then
|
||||||
|
echo -en "\r\033[K"
|
||||||
|
gofor=1
|
||||||
|
else
|
||||||
|
gofor=0
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
gofor=1
|
||||||
|
fi
|
||||||
|
if [ ${gofor} -eq 1 ]; then
|
||||||
lastscansnum=${scansfound}
|
lastscansnum=${scansfound}
|
||||||
last_tempdiffs=$(tail -n ${lastscansnum} ${PW_TMPFOLDER}/.log.sr.difference)
|
last_tempdiffs=$(tail -n ${lastscansnum} ${PW_TMPFOLDER}/.log.sr.difference)
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
|
|||||||
Reference in New Issue
Block a user