fine tuning

This commit is contained in:
inxi-svn 2009-07-27 21:53:39 +00:00
parent 02cac9a478
commit a18a01bb29

6
inxi
View file

@ -3070,7 +3070,7 @@ get_sensors_data()
cpuFan=$3 cpuFan=$3
} }
} }
/^fan1:|FAN1 Speed:/ { /^fan1:|FAN1 Speed:|CHASSIS(1)? FAN Speed:/ {
if ( $1 == "fan1:" ){ if ( $1 == "fan1:" ){
sysFan1=$2 sysFan1=$2
} }
@ -3081,7 +3081,7 @@ get_sensors_data()
sysFan1=$4 sysFan1=$4
} }
} }
/^fan2:|FAN2 Speed:/ { /^fan2:|FAN2 Speed:|CHASSIS2 FAN Speed:/ {
if ( $1 == "fan2:" ){ if ( $1 == "fan2:" ){
sysFan2=$2 sysFan2=$2
} }
@ -3092,7 +3092,7 @@ get_sensors_data()
sysFan2=$4 sysFan2=$4
} }
} }
/^fan3:|FAN3 Speed:/ { /^fan3:|FAN3 Speed:|CHASSIS3 FAN Speed:/ {
if ( $1 == "fan3:" ){ if ( $1 == "fan3:" ){
sysFan3=$2 sysFan3=$2
} }