#! /bin/sh # (c) 2013 - LGPL - Steve Schnepp pluginfull="$0" # full name of plugin plugin="${0##*/}" # name of plugin pidfile="$MUNIN_PLUGSTATE/munin.$plugin.pid" cache="$MUNIN_PLUGSTATE/munin.$plugin.value" if [ ! -r "/sys/class/thermal/thermal_zone0/temp" ] then echo "# Cannot read CPU Temp" exit 1 fi if [ "$1" = "config" ] then cat <