mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
bug test
This commit is contained in:
parent
c7bb8c268b
commit
d3f08f1b50
15
inxi
15
inxi
|
@ -3244,17 +3244,18 @@ local sample="
|
||||||
print "4:"aFanReal[2]":"
|
print "4:"aFanReal[2]":"
|
||||||
print "5:"aFanReal[3]":"
|
print "5:"aFanReal[3]":"
|
||||||
print "6:"sysFanString":"
|
print "6:"sysFanString":"
|
||||||
|
print "::"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# if they are ALL null, print error message. psFan is not used in output currently
|
# if they are ALL null, print error message. psFan is not used in output currently
|
||||||
if ( cpuTempReal == "" && moboTempReal == "" && aFanReal[1] == "" && aFanReal[2] == "" && aFanReal[3] == "" && sysFanString == "" ) {
|
# if ( cpuTempReal == "" && moboTempReal == "" && aFanReal[1] == "" && aFanReal[2] == "" && aFanReal[3] == "" && sysFanString == "" ) {
|
||||||
print "No active sensors found. Have you configured your sensors yet?"
|
# print "No active sensors found. Have you configured your sensors yet?"
|
||||||
}
|
# }
|
||||||
else {
|
# else {
|
||||||
# then build it: afanreals: 1 - cpu; 2 - mobo; 3 - psu
|
# # then build it: afanreals: 1 - cpu; 2 - mobo; 3 - psu
|
||||||
print cpuTempReal "," moboTempReal "," aFanReal[1] "," aFanReal[2] "," aFanReal[3] sysFanString
|
# print cpuTempReal "," moboTempReal "," aFanReal[1] "," aFanReal[2] "," aFanReal[3] sysFanString
|
||||||
}
|
# }
|
||||||
}
|
}
|
||||||
'
|
'
|
||||||
) )
|
) )
|
||||||
|
|
Loading…
Reference in a new issue