mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
tweaks
This commit is contained in:
parent
f419ca2c96
commit
c23da95276
8
inxi
8
inxi
|
@ -3630,15 +3630,17 @@ get_sensors_data()
|
|||
}
|
||||
}
|
||||
# need a case for no temps at all reported, like with old intels
|
||||
else if ( temp1 == "" && temp2 == "" && cpuTemp == "" && moboTemp == "" ){
|
||||
else if ( temp2 == "" && cpuTemp == "" ){
|
||||
if ( temp1 == "" && moboTemp == "" ){
|
||||
tempFanType=1
|
||||
}
|
||||
else if ( temp1 != "" && temp2 == "" && cpuTemp == "" && moboTemp == "" ){
|
||||
else if ( temp1 != "" && moboTemp == "" ){
|
||||
tempFanType=1
|
||||
}
|
||||
else if ( temp1 != "" && temp2 == "" && cpuTemp == "" && moboTemp != "" ){
|
||||
else if ( temp1 != "" && moboTemp != "" ){
|
||||
tempFanType=1
|
||||
}
|
||||
}
|
||||
|
||||
# then get the real cpu temp, best guess is hottest is real
|
||||
if ( cpuTemp != "" ){
|
||||
|
|
Loading…
Reference in a new issue