1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

p/rpi_temp: adding a milli precision

This commit is contained in:
Steve Schnepp 2013-10-12 20:59:22 +02:00
parent 6af19f5558
commit 61fe1573cb

View file

@ -28,6 +28,6 @@ fi
# values # values
TEMP_MILLI_C=$(cat /sys/class/thermal/thermal_zone0/temp) TEMP_MILLI_C=$(cat /sys/class/thermal/thermal_zone0/temp)
echo thermal_zone0.value $( echo "$TEMP_MILLI_C / 1000" | bc ) echo thermal_zone0.value $( echo "scale=3; $TEMP_MILLI_C / 1000" | bc )
exit 0 exit 0