From 14527972657d6e7e9d59d24c17aafe74f195f980 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 30 Jul 2009 00:39:57 +0000 Subject: [PATCH] (change version) bug fix in sensors counting and detection. --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index c342799..5ccbf6c 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.1.2 +#### version: 1.1.3 #### Date: 29 July 2009 ######################################################################## #### SPECIAL THANKS @@ -3125,7 +3125,7 @@ get_sensors_data() sysFanNu=gensub( /^(FAN|CHASSIS)([2-9])[ \t]+(.*)/, "\\2", 1, $1 ) if ( sysFanNu ~ /^([2-9])$/ ) { # note: cpu/mobo/ps/fan1 above are 1/2/3/4 - sysFanNu = sysFanNu + 4 + sysFanNu = sysFanNu + 3 aFanMain[sysFanNu]=gensub( /[ \t]*([0-9]+)[ \t]+(.*)/, "\\1", 1, $2 ) } }