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 done
fi fi
rm -f ${PW_TMPFOLDER}/.fanspeed.* 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]}" [ "${PW_ACTION}" != "" ] && echo -e "${idsCL[Default]}"
} }

View File

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