diff -prud old/usr/lib/byobu/ec2_cost new/usr/lib/byobu/ec2_cost --- old/usr/lib/byobu/ec2_cost 2012-01-18 17:57:21.417173570 +0000 +++ new/usr/lib/byobu/ec2_cost 2012-01-18 17:58:10.000000000 +0000 @@ -78,7 +78,7 @@ __ec2_cost() { local iface rbytes rpackets rerrs rdrop rfifo rframe rcompressed rmulticast tbytes tpackets terrs tdrop tfifo tcolls tcarrier tcompressed IFS="$OIFS:" while read iface rbytes rpackets rerrs rdrop rfifo rframe rcompressed rmulticast tbytes tpackets terrs tdrop tfifo tcolls tcarrier tcompressed; do - if [ "$iface" = "${interface}:" ]; then + if [ "$iface" = "${interface}" ]; then tx_gb=${tbytes} rx_gb=${rbytes} break diff -prud old/usr/lib/byobu/network new/usr/lib/byobu/network --- old/usr/lib/byobu/network 2012-01-18 17:57:54.000000000 +0000 +++ new/usr/lib/byobu/network 2012-01-18 17:56:55.517172402 +0000 @@ -44,7 +44,7 @@ __network() { local iface rbytes rpackets rerrs rdrop rfifo rframe rcompressed rmulticast tbytes tpackets terrs tdrop tfifo tcolls tcarrier tcompressed IFS="$OIFS:" while read iface rbytes rpackets rerrs rdrop rfifo rframe rcompressed rmulticast tbytes tpackets terrs tdrop tfifo tcolls tcarrier tcompressed; do - if [ "$iface" = "${interface}:" ]; then + if [ "$iface" = "${interface}" ]; then [ "$i" = "up" ] && x2=${tbytes} || x2=${rbytes} break; fi