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