Using MB as default output for traffic

This commit is contained in:
frlan 2011-10-04 22:14:46 +02:00
parent a89c94f7f9
commit 81f7ce99c9

View file

@ -3,8 +3,8 @@
source $(dirname $0)/traffic_common.sh source $(dirname $0)/traffic_common.sh
echo -e \ echo -e \
"Consumed: $(($TPer + $TEph)) B "Consumed: $((($TPer + $TEph) / 1024 / 1024)) MB
($TPer B accounted to disk) ($(($TPer / 1024 / 1024)) MB accounted to disk)
Limit: $TMax B Limit: $(($TMax / 1024 / 1024)) MB
Please donate $(($(($TPer + TEph)) / $BytesPerCent)) cent." Please donate $(($(($TPer + TEph)) / $BytesPerCent)) cent."