#!/bin/bash /usr/local/bin/g2cpm -t /dev/ttyS0 -l /home/geiger/rksb >> /var/log/amsrad.log 2>&1 a=1 a=`cat /home/geiger/rksb | awk CONVFMT` rrdtool update /home/geiger/www/amsrad.rrd N:$a >> /var/log/amsrad.log 2>&1