mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
added case for fan speed yes but no temps
This commit is contained in:
parent
cb96988442
commit
f545e5d4e7
6
inxi
6
inxi
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 1.0.102-b1
|
#### version: 1.0.103-b1
|
||||||
#### Date: 28 July 2009
|
#### Date: 28 July 2009
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
|
@ -3144,6 +3144,10 @@ local sample="
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
# need a case for no temps at all reported, like with old intels
|
||||||
|
else if ( temp1 == "" && temp2 == "" && cpuTemp == "" && moboTemp == "" ){
|
||||||
|
tempFanType=1
|
||||||
|
}
|
||||||
# print "tft: " tempFanType
|
# print "tft: " tempFanType
|
||||||
|
|
||||||
# then get the real cpu temp, best guess is hottest is real
|
# then get the real cpu temp, best guess is hottest is real
|
||||||
|
|
Loading…
Reference in a new issue