Raspberry Pi port, piCore-15.0 is available!
echo $'scale=2\n'$(cat /sys/class/thermal/thermal_zone0/temp)/1000 | bc
Is there any setting after installing lm-sensor utility
sudo sensors-detect
modprobe coretemp
#!/bin/shfor i in /sys/class/hwmon/hwmon*do [ -e "$i"/temp*_label ] && LABEL="$(cat $i/temp*_label)" || LABEL="$(cat $i/name)" TEMP="$(( $(cat $i/*_input) / 1000 ))" echo -e "$LABEL: \t$TEMPĀ°C"done