Update power.inc.sh

This commit is contained in:
2025-08-12 22:21:10 -05:00
parent 6fe4db071c
commit 7c2fd326f5

View File

@@ -53,11 +53,11 @@ AVERAGEPOWER(){
}
CHECKPOWER(){
[ ${REPORT} -eq 0 ] && modstart=`date +%s`
rm -f ${PW_TMPFOLDER}/*.hostpower*
REPORT=0
wspc=10
[ ${REPORT} -eq 0 ] && modstart=$(date +%s)
while [ $# -gt 0 ]; do
case "$1" in
-a|-avg) avgdays=${2};;