diff --git a/packages/mediacenter/xbmc/scripts/cputemp b/packages/mediacenter/xbmc/scripts/cputemp index 0466da2272..51a9292ab0 100755 --- a/packages/mediacenter/xbmc/scripts/cputemp +++ b/packages/mediacenter/xbmc/scripts/cputemp @@ -22,9 +22,7 @@ TEMP="0" -if [ -f /sys/class/thermal/thermal_zone0/temp ]; then - TEMP=`echo "$(cat /sys/class/thermal/thermal_zone0/temp)/1000" |bc` -elif [ -f /usr/bin/sensors ]; then +if [ -f /usr/bin/sensors ]; then TEMP=`/usr/bin/sensors -u | tail -n6 | grep temp1_input | awk '{print $2 }' |awk '{printf("%d\n",$1 + 0.5);}'` fi