Update powerwall.sh

This commit is contained in:
2023-11-07 08:08:34 -06:00
parent ac0bc53542
commit 3684335b33

View File

@@ -531,11 +531,9 @@ AVERAGEPOWER(){
}
CHECKPOWER(){
echo "PASSED: ${1}~${2}~${3}~${4}~${5}~${6}~${7}~${8}~${9}~${10}"
start=`date +%s`
rm -f ${PW_TMPFOLDER}/*.hostpower*
while [ $# -gt 0 ]; do
echo "$1 = $2"
case "$1" in
-avg) avgdays=${2};;
-type) PTYPE=${2};;