From 81f7ce99c9df1567ed8fd8054f1f63e831e5a58e Mon Sep 17 00:00:00 2001 From: frlan Date: Tue, 4 Oct 2011 22:14:46 +0200 Subject: [PATCH] Using MB as default output for traffic --- src/traffic_status | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/traffic_status b/src/traffic_status index e2096d1..4fc5f2c 100755 --- a/src/traffic_status +++ b/src/traffic_status @@ -3,8 +3,8 @@ source $(dirname $0)/traffic_common.sh echo -e \ -"Consumed: $(($TPer + $TEph)) B - ($TPer B accounted to disk) -Limit: $TMax B +"Consumed: $((($TPer + $TEph) / 1024 / 1024)) MB + ($(($TPer / 1024 / 1024)) MB accounted to disk) +Limit: $(($TMax / 1024 / 1024)) MB -Please donate $(($(($TPer + TEph)) / $BytesPerCent)) cent." \ No newline at end of file +Please donate $(($(($TPer + TEph)) / $BytesPerCent)) cent."