Changeset 5102

Show
Ignore:
Timestamp:
01/09/08 11:59:48 (5 years ago)
Author:
khali
Message:

Detect improperly formatted FCTEMPS value (#2293).

Location:
lm-sensors/branches/lm-sensors-3.0.0
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/CHANGES

    r5098 r5102  
    1212             Warn about outputs found in automatic mode 
    1313             Repeat available configuration options before prompt (#2289) 
     14  fancontrol: Detect improperly formatted FCTEMPS value (#2293) 
    1415  sensord: Fix rrd support (#2276) 
    1516           Use the same colors for daily and weekly charts 
  • lm-sensors/branches/lm-sensors-3.0.0/prog/pwm/fancontrol

    r4591 r5102  
    8383        for fcv in $FCTEMPS 
    8484        do 
     85                if ! echo $fcv | egrep -q '=' 
     86                then 
     87                        echo "Error in configuration file:" 
     88                        echo "FCTEMPS value is improperly formatted" 
     89                        exit 1 
     90                fi 
     91 
    8592                AFCPWM[$fcvcount]=`echo $fcv |cut -d'=' -f1` 
    8693                AFCTEMP[$fcvcount]=`echo $fcv |cut -d'=' -f2`