Update cpuinfo

This commit is contained in:
Bard 2024-05-25 21:33:44 +08:00 committed by GitHub
parent d7a1be3765
commit 7aa90ed905
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@ CPUFREQ_PATH="/sys/devices/system/cpu/cpufreq"
THERMAL_PATH="/sys/class/thermal"
cpu_arch="$(awk -F ': ' '/model name/ {print $2}' "$CPUINFO_PATH" | head -n1)"
[ -n "${cpu_arch}" ] || cpu_arch="?"
[ -n "${cpu_arch}" ] || cpu_arch="$(uname -m)"
case "$DISTRIB_TARGET" in
"x86"/*)