4
# Revision 1.1 2004/05/06 21:39:54 jimmyo
5
# Added plugin acpi, contributed by Alexandre Dupouy.
9
#%# capabilities=autoconf
11
if [ "$1" = "autoconf" ]; then
12
acpi_available 2>/dev/null >/dev/null
13
if [ "$?" = "0" ]; then
22
if [ "$1" = "config" ]; then
24
echo 'graph_title CPU temperature'
25
echo 'graph_args --base 1000 -l 0'
26
echo 'graph_vlabel temp in �C'
31
t=$(echo "`acpi -t -B`" | awk '{print $4}' | tr '.' ' ' | cut -f 1 -d ' ')