mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
no version change, new tarball. On consideration, I'm not using temp3, that is simply
not reliable enough and leads I think to more false readings than right ones.
This commit is contained in:
parent
7233a52d22
commit
129396f187
8
inxi
8
inxi
|
@ -5462,7 +5462,6 @@ get_hdd_data_basic()
|
|||
}' )
|
||||
fi
|
||||
fi
|
||||
|
||||
# echo ss: $swap_size
|
||||
hdd_data="$( eval $df_string )"
|
||||
# eval $df_string | awk 'BEGIN{tot=0} !/total/ {tot+=$4} END{print tot}'
|
||||
|
@ -8427,9 +8426,10 @@ get_sensors_data()
|
|||
cpuTempReal=temp1 # can be null, that is ok
|
||||
}
|
||||
if ( cpuTempReal != "" ) {
|
||||
if ( temp3 != "" && temp3 > cpuTempReal ) {
|
||||
cpuTempReal=temp3
|
||||
}
|
||||
# using temp3 is just not reliable enough, more errors caused than fixed imo
|
||||
#if ( temp3 != "" && temp3 > cpuTempReal ) {
|
||||
# cpuTempReal=temp3
|
||||
#}
|
||||
# there are some absurdly wrong temp1: acpitz-virtual-0 temp1: +13.8°C
|
||||
if ( core0Temp != "" && (core0Temp - cpuTempReal) > tempDiff ) {
|
||||
cpuTempReal=core0Temp
|
||||
|
|
|
@ -1,3 +1,16 @@
|
|||
=====================================================================================
|
||||
Version: 2.1.25
|
||||
Patch Version: 00
|
||||
Script Date: 2014-04-28
|
||||
-----------------------------------
|
||||
Changes:
|
||||
-----------------------------------
|
||||
no version change, new tarball. On consideration, I'm not using temp3, that is simply
|
||||
not reliable enough and leads I think to more false readings than right ones.
|
||||
|
||||
-----------------------------------
|
||||
-- Harald Hope - Mon, 28 Apr 2014 14:47:41 -0700
|
||||
|
||||
=====================================================================================
|
||||
Version: 2.1.25
|
||||
Patch Version: 00
|
||||
|
|
Loading…
Reference in a new issue