From f00a04121bd90a5dd5028f2903e221aa3fcd4480 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 20 Jul 2011 18:50:27 +0200 Subject: [PATCH] xbmc: fix script to show cpu temperature 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 51a9292ab0..a9e7950a8b 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 -n6 | grep temp1_input | awk '{print $2 }' |awk '{printf("%d\n",$1 + 0.5);}'` + TEMP=`/usr/bin/sensors -u | tail -n6 | grep temp._input | awk '{print $2 }' |awk '{printf("%d\n",$1 + 0.5);}'` fi echo "${TEMP} C"