mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
xbmc: change cputemp script again, maybe sometime we have tried all variants :-) thanks to ultra_man
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
292c2df0e4
commit
c5b78d4a9c
@ -23,7 +23,7 @@
|
|||||||
TEMP="0"
|
TEMP="0"
|
||||||
|
|
||||||
if [ -f /usr/bin/sensors ]; then
|
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
|
fi
|
||||||
|
|
||||||
echo "${TEMP} C"
|
echo "${TEMP} C"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user