Show
Ignore:
Timestamp:
08/29/02 04:20:01 (11 years ago)
Author:
mds
Message:

fix in stop() from

Sebastian Mika <Sebastian.Mika@…>

stop: At least on my debian system the line
"modules=grep \^MODULE_ $CONFIG | wc -l"
evaluates to " 4" (a space before 4).

Regards,
Sebastian Mika

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/init/lm_sensors.init

    r1414 r1511  
    6868 
    6969        modules=`grep \^MODULE_ $CONFIG | wc -l` 
    70         i=$modules 
     70        i=`expr $modules` 
    7171        while [ $i -ge 0 ] ; do 
    7272                module=`eval echo '$'MODULE_$i`