Update power.inc.sh

This commit is contained in:
2024-01-09 16:12:55 -06:00
parent 40a5efe448
commit d76d229ea8

View File

@@ -328,9 +328,9 @@ CHECKPOWER(){
[ "${STYPE}" == "" ] || [ "${STYPE}" == "offsite" ] && echo -e "${idsCL[LightCyan]}Offsite Total ${idsCL[Default]}: ${idsCL[LightGreen]}${SENSOR_TOTAL_AMPS_OFFSITE}'amps - `IDS_NUMBER_FORMAT ${SENSOR_TOTAL_WATTS_OFFSITE}`'watts"
fi
if [ ${REPORT} -eq 0 ]; then
end=`date +%s`; runtime=$((end-start)); echo -e "\nruntime: ${runtime}"
end=`date +%s`; runtime=$((end-start)); echo -e "\n${idsCL[Default]}runtime: ${runtime}"
fi
[ "${PW_ACTION}" != "" ] && [ ${REPORT} -eq 0 ] && echo
[ "${PW_ACTION}" != "" ] && [ ${REPORT} -eq 0 ] && echo -e "${idsCL[Default]}"
}
CHECKPOWER_SERVICE(){