#!/bin/bash RRD=/tmp/trafic_wlan0.rrd rrdtool graph trafic_wlan0.png -s -1h -t "Trafic wlan0" \ DEF:Rx=$RRD:rx:AVERAGE \ DEF:Tx=$RRD:tx:AVERAGE \ LINE:Rx#ff0000:"Rx\n" \ LINE:Tx#0000ff:"Tx\n"