#!/bin/sh
#
# (c) Gatekeeper Technology Ltd., 2013
# May be used under the terms of GPLv3 or, at your discretion, any later version

#digitemp_DS9097 -i -s /dev/cuaU0

if [ "$1" = "config" ]; then

    echo 'graph_title Temperature in Pori, Finland and living room'
    echo 'graph_category temp'
    echo 'graph_info Current temperature in Pori, Finland and living room.'
    echo 'graph_vlabel celcius'
    echo 'temp.label       Outside C'
    echo 'room.label       Room C'
    echo 'temp.colour      ff0000'
    echo 'room.colour      1500ff'
    echo 'wind.label       wind m/s'
    echo 'rain.label       rain mm'
    exit 0
fi

cat /tmp/temp

#/bin/cat "/tmp/temp.txt"