--- usr/lib/byobu/ec2_cost.orig	2016-04-07 22:05:52 UTC
+++ usr/lib/byobu/ec2_cost
@@ -56,8 +56,8 @@ __ec2_cost() {
 	file_to_stat="/etc/hostname"
 	hours=$(((`date +%s` - `stat --printf %Y $file_to_stat`) / 60 / 60 + 1))
 	# Auto detect network interface
-	[ -r "/proc/net/route" ] || return
-	interface=$(tail -n1 /proc/net/route  | awk '{print $1}')
+	[ -r "/compat/linux/proc/net/route" ] || return
+	interface=$(tail -n1 /compat/linux/proc/net/route  | awk '{print $1}')
 	local iface rbytes rpackets rerrs rdrop rfifo rframe rcompressed rmulticast tbytes tpackets terrs tdrop tfifo tcolls tcarrier tcompressed
 	while read iface rbytes rpackets rerrs rdrop rfifo rframe rcompressed rmulticast tbytes tpackets terrs tdrop tfifo tcolls tcarrier tcompressed; do
 		case "$iface" in
@@ -78,7 +78,7 @@ __ec2_cost() {
 			rx_gb=${rbytes}
 			break
 		fi
-	done < /proc/net/dev
+	done < /compat/linux/proc/net/dev
 	tx_gb=$(printf "%s" ${tx_gb} | awk '{ printf "%f", $1 / 1024 / 1024 / 1024 }')
 	rx_gb=$(printf "%s" ${rx_gb} | awk '{ printf "%f", $1 / 1024 / 1024 / 1024 }')
 	network_cost=`printf "%s %s %s %s" "$tx_gb" "$TX_RATE" "$rx_gb" "$RX_RATE" | awk '{printf "%f %f", $1*$2, $3*$4}' | awk '{printf "%f", $1 + $2}'`
