From c5b78d4a9cffdc289c7dcfbc15fcee0465c2bc95 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 28 Sep 2011 18:26:20 +0200 Subject: [PATCH] xbmc: change cputemp script again, maybe sometime we have tried all variants :-) thanks to ultra_man Signed-off-by: Stephan Raue --- packages/mediacenter/xbmc/scripts/cputemp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mediacenter/xbmc/scripts/cputemp b/packages/mediacenter/xbmc/scripts/cputemp index eb129f3e74..b61b416323 100755 --- a/packages/mediacenter/xbmc/scripts/cputemp +++ b/packages/mediacenter/xbmc/scripts/cputemp @@ -23,7 +23,7 @@ TEMP="0" if [ -f /usr/bin/sensors ]; then - TEMP=`/usr/bin/sensors -u | tail -n7 | grep temp._input | awk '{print $2 }' |awk '{printf("%d\n",$1 + 0.5);}'` + TEMP=`/usr/bin/sensors -u | grep -A 1 "Core " | tail -n 1 | awk '{printf("%d\n",$2 + 0.5);}'` fi echo "${TEMP} C"