mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
more mods on senses, branches/one
This commit is contained in:
parent
01751d78be
commit
34d57c59b2
9
inxi
9
inxi
|
@ -8399,7 +8399,8 @@ get_sensors_data()
|
||||||
cpuTempReal=cpuTemp
|
cpuTempReal=cpuTemp
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ( tempFanType != "" ){
|
else {
|
||||||
|
if ( tempFanType != "" ){
|
||||||
if ( tempFanType == 1 ){
|
if ( tempFanType == 1 ){
|
||||||
cpuTempReal=temp1
|
cpuTempReal=temp1
|
||||||
}
|
}
|
||||||
|
@ -8407,9 +8408,15 @@ get_sensors_data()
|
||||||
cpuTempReal=temp2
|
cpuTempReal=temp2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
if ( core0Temp != "" ) {
|
||||||
|
cpuTempReal=core0Temp
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
cpuTempReal=temp1
|
cpuTempReal=temp1
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
# if all else fails, use core0/peci temp if present and cpu is null
|
# if all else fails, use core0/peci temp if present and cpu is null
|
||||||
if ( cpuTempReal == "" ) {
|
if ( cpuTempReal == "" ) {
|
||||||
if ( core0Temp != "" ) {
|
if ( core0Temp != "" ) {
|
||||||
|
|
Loading…
Reference in a new issue