Update cpuinfo
This commit is contained in:
parent
d7a1be3765
commit
7aa90ed905
@ -7,7 +7,7 @@ CPUFREQ_PATH="/sys/devices/system/cpu/cpufreq"
|
|||||||
THERMAL_PATH="/sys/class/thermal"
|
THERMAL_PATH="/sys/class/thermal"
|
||||||
|
|
||||||
cpu_arch="$(awk -F ': ' '/model name/ {print $2}' "$CPUINFO_PATH" | head -n1)"
|
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
|
case "$DISTRIB_TARGET" in
|
||||||
"x86"/*)
|
"x86"/*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user