Unverified Commit c6d83a8f authored by Dylan Araps's avatar Dylan Araps Committed by GitHub

Merge pull request #957 from Kayant/master

cpu_temp: Add support for Zen processors
parents 810605d7 5c582448
...@@ -1022,7 +1022,7 @@ get_cpu() { ...@@ -1022,7 +1022,7 @@ get_cpu() {
# Select the right temperature file. # Select the right temperature file.
for temp_dir in /sys/class/hwmon/*; do for temp_dir in /sys/class/hwmon/*; do
[[ "$(< "${temp_dir}/name")" =~ (coretemp|fam15h_power) ]] && \ [[ "$(< "${temp_dir}/name")" =~ (coretemp|fam15h_power|k10temp) ]] && \
{ temp_dir="${temp_dir}/temp1_input"; break; } { temp_dir="${temp_dir}/temp1_input"; break; }
done done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment