Update powerwall.sh

This commit is contained in:
2024-06-01 13:10:19 -05:00
parent 4e02e1011b
commit 3ae4212f8d

View File

@@ -915,7 +915,7 @@ fi
echo "${RPMn}"
RPM_tot=$(expr ${RPM_tot} + ${RPMn})
done
RPM=$(ROUND_NUMBER $(bc -l <<< "scale=0; {RPM_tot}/${#RPMs}"))
RPM=$(ROUND_NUMBER $(bc <<< "scale=0; ${RPM_tot}/${#RPMs}"))
echo "AVG: ${RPM}"