edits to comments

This commit is contained in:
Harald Hope 2018-02-28 23:01:31 -08:00
parent 230cacfc53
commit 1627ebab29

4
inxi
View file

@ -11218,7 +11218,7 @@ get_sensors_data()
# there are some guesses here, but with more sensors samples it will get closer.
# note: using arrays starting at 1 for all fan arrays to make it easier overall
# more validation because gensub if fails to get match returns full string, so
# we have to be sure we are working with the actual real string before assiging
# we have to be sure we are working with the actual real string before assigning
# data to real variables and arrays. Extracting C/F degree unit as well to use
# when constructing temp items for array.
# note that because of charset issues, no tempUnit="°" tempWorkingUnit degree sign
@ -15959,7 +15959,7 @@ print_sensors_data()
case $j in
[0-9]|[1-9][0-9])
if [[ -n ${a_sensors_working[$j]} ]];then
fan_number=$(( $j + 1 )) # sys fans start on array key 5
fan_number=$(( $j + 1 )) # basic fans start on array key 1
# wrap after fan 6 total
if [[ $fan_count -lt 7 ]];then
sys_fans="$sys_fans${C1}fan-$fan_number$SEP3${C2} ${a_sensors_working[$j]} "