From c23da95276b7d1296ffe06622ec6993d198eb78e Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 18 Feb 2010 06:57:47 +0000 Subject: [PATCH] tweaks --- inxi | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/inxi b/inxi index 2acd080..bf9b947 100755 --- a/inxi +++ b/inxi @@ -3630,14 +3630,16 @@ get_sensors_data() } } # need a case for no temps at all reported, like with old intels - else if ( temp1 == "" && temp2 == "" && cpuTemp == "" && moboTemp == "" ){ - tempFanType=1 - } - else if ( temp1 != "" && temp2 == "" && cpuTemp == "" && moboTemp == "" ){ - tempFanType=1 - } - else if ( temp1 != "" && temp2 == "" && cpuTemp == "" && moboTemp != "" ){ - tempFanType=1 + else if ( temp2 == "" && cpuTemp == "" ){ + if ( temp1 == "" && moboTemp == "" ){ + tempFanType=1 + } + else if ( temp1 != "" && moboTemp == "" ){ + tempFanType=1 + } + else if ( temp1 != "" && moboTemp != "" ){ + tempFanType=1 + } } # then get the real cpu temp, best guess is hottest is real