hwtemp-desktop.sh backtick fixed according to new k10temp patch (Threadripper native sensor).

This commit is contained in:
Alexey Skobkin 2017-11-26 07:44:16 +03:00
parent a70b3ea0a2
commit 6b86bb8c53
1 changed files with 1 additions and 1 deletions

View File

@ -2,4 +2,4 @@
# Core i7-4820k
#sensors | fgrep -i "core " | tr "\n" " " | sed -e "s/Core\ [0-9]\:[ ]\++//g;s/ ([^)]*)//g;s/ $//"
# Threadripper 1950X (via motherboard sensors, not die)
sensors | fgrep 'CPUTIN' | awk '{print $2}'
sensors | fgrep 'temp1:' | awk '{print $2}' | head -n1