autocore: Fix schema display? x? error
This commit is contained in:
parent
00c38b88e0
commit
13b33e9832
@ -42,7 +42,7 @@ case "$DISTRIB_TARGET" in
|
||||
"x86"/*)
|
||||
if grep -q "GenuineIntel" "/proc/cpuinfo"; then
|
||||
cpu_temp="$(sensors "coretemp-*" 2>"/dev/null" | grep -E "(Package id |Core )" | grep -Eo "\+[0-9.]*°C" | head -n1 | tr -d "+")"
|
||||
else grep -q "AuthenticAMD" "/proc/cpuinfo"; then
|
||||
elif grep -q "AuthenticAMD" "/proc/cpuinfo"; then
|
||||
cpu_temp="$(sensors "k*temp-*" 2>"/dev/null" | awk '/Tdie/ {print $2}' | head -n1 | tr -d "+")"
|
||||
fi
|
||||
;;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user