#!/bin/sh
if [ -f /sys/class/net/ppp0/statistics/rx_bytes ] ; then
	# echo aanvaardt standaard geen \n
	# Opmerkelijk: bij dash wel? Wordt al geïnterpreteerd voor echo?
	printf '+\np' | cat /sys/class/net/ppp0/statistics/rx_bytes /sys/class/net/ppp0/statistics/tx_bytes - | dc | /home/kevin/bin/bytes2human.sh
else
	echo ""
fi

#!/bin/sh
if [ -f /sys/class/net/ppp0/statistics/rx_bytes ] ; then
	vnstat --oneline | sed 's/1;.*;\([^;]*\);[^;]*;[^;]*;[^;]*;[^;]*$/\1/'
else
	echo ""
fi

Use vnstat for bandwidth usage
Use vnstat for bandwidth usage

I changed this before the use of the git repo, but it seems like I
forgot to add and commit then.
