Update temp.inc.sh

This commit is contained in:
2023-12-22 22:52:38 -06:00
parent 92acde6599
commit d503449cbb

View File

@@ -682,10 +682,19 @@ SERVERROOM_TEMP_DIFFERENCE(){
echo -e "${idsCL[LightCyan]}Current Temp Deviation : ${idsCL[LightRed]}${PW_ServerRoomTH_Dev}'F${idsCL[Default]}"
if [ ${scansfound} -le 500 ]; then
echo -en "\n${idsCL[LightCyan]}List out these '${scansfound}' scan times? (y/N): ${idsCL[Default]}"
read -n1 choice
if [ "${choice^^}" == "Y" ]; then
echo -en "\r\033[K"
if [ ${scansfound} -gt 15 ]; then
echo -en "\n${idsCL[LightCyan]}List out these '${scansfound}' scan times? (y/N): ${idsCL[Default]}"
read -n1 choice
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}
last_tempdiffs=$(tail -n ${lastscansnum} ${PW_TMPFOLDER}/.log.sr.difference)
IFS=$'\n'