#!/bin/bashif [ "$1" = "config" ] ; then echo 'graph_args -l 70 -r' echo 'graph_title Comms Room Temperature' echo 'graph_order temperature' echo 'graph_vlabel Degrees F' echo 'graph_category Environmental' echo 'temperature.label temp' echo 'temperature.warning 85' echo 'temperature.critical 90' exit 0 fi echo "temperature.value `/usr/local/bin/thumctl -t -f | awk '{print $3}'`"