Update powerwall.sh
This commit is contained in:
@@ -915,10 +915,10 @@ fi
|
||||
echo "${RPMn}"
|
||||
RPM_tot=$(expr ${RPM_tot} + ${RPMn})
|
||||
done
|
||||
echo "TOTs: ${RPM_tot} / ${#RPMs}"
|
||||
RPM=$(bc <<< "scale=0; ${RPM_tot}/${#RPMs}")
|
||||
echo "TOTs: ${RPM_tot} / ${#RPMs[@]}"
|
||||
RPM=$(bc <<< "scale=0; ${RPM_tot}/${#RPMs[@]}")
|
||||
echo "AVG1: ${RPM}"
|
||||
RPM=$(ROUND_NUMBER $(bc <<< "scale=0; ${RPM_tot}/${#RPMs}"))
|
||||
RPM=$(ROUND_NUMBER $(bc <<< "scale=0; ${RPM_tot}/${#RPMs[@]}"))
|
||||
echo "AVG2: ${RPM}"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user