Update power.inc.sh
This commit is contained in:
@@ -53,11 +53,11 @@ AVERAGEPOWER(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
CHECKPOWER(){
|
CHECKPOWER(){
|
||||||
[ ${REPORT} -eq 0 ] && modstart=`date +%s`
|
|
||||||
|
|
||||||
rm -f ${PW_TMPFOLDER}/*.hostpower*
|
rm -f ${PW_TMPFOLDER}/*.hostpower*
|
||||||
REPORT=0
|
REPORT=0
|
||||||
wspc=10
|
wspc=10
|
||||||
|
[ ${REPORT} -eq 0 ] && modstart=$(date +%s)
|
||||||
|
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-a|-avg) avgdays=${2};;
|
-a|-avg) avgdays=${2};;
|
||||||
|
|||||||
Reference in New Issue
Block a user