This commit is contained in:
2024-02-06 22:13:30 -06:00
parent a922ff925d
commit b980db00e3
2 changed files with 5 additions and 3 deletions

View File

@@ -209,7 +209,9 @@ CHECKTEMP(){
done
fi
rm -f ${PW_TMPFOLDER}/.fanspeed.*
end=`date +%s`; runtime=$((end-start)); echo -e "runtime: ${runtime}s"
if [ ${REPORT} -eq 0 ]; then
end=`date +%s`; runtime=$((end-start)); echo -e "${idsCL[Default]}runtime: ${runtime}s"
fi
[ "${PW_ACTION}" != "" ] && echo -e "${idsCL[Default]}"
}

View File

@@ -926,8 +926,8 @@ fi
logrotate) LOGROTATE;;
confsync) CONFSYNC;;
status)
CHECKPOWER -p ${2} ${3}
CHECKTEMP -S ${2} ${3}
CHECKPOWER -p ${2} ${3} ${4} ${5}
CHECKTEMP -S ${2} ${3} ${4} ${5}
CHECK_SERVICES
;;
tempdiff) SERVERROOM_TEMP_DIFFERENCE ${2} ${3} ${4};;