Changeset 5857 for lm-sensors/trunk/prog/pwm
- Timestamp:
- 08/22/10 18:17:57 (21 months ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/prog/pwm/pwmconfig (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/pwm/pwmconfig
r5856 r5857 281 281 for i in $FAN 282 282 do 283 # this will return the first field if there's only one (sysfs) 284 S=`cat $i | cut -d' ' -f2` 283 S=`cat $i` 285 284 if [ "$S" = "0" -o "$S" = "-1" ] 286 285 then … … 374 373 exit 1 375 374 fi 376 # this will return the first field if there's only one (sysfs) 377 S=`cat $F | cut -d' ' -f2` 375 S=`cat $F` 378 376 # Fan speed should never increase significantly 379 377 if [ $S -gt $threshold ] … … 477 475 fanactive_min="$S+${fanactive_min}" 478 476 fi 479 # this will return the first field if there's only one (sysfs) 480 S=`cat $j | cut -d' ' -f2` 477 S=`cat $j` 481 478 if [ $S -lt $threshold ] 482 479 then … … 702 699 pwmset $pwms $fanval 703 700 sleep $PDELAY 704 fanspeed=`cat $faninput | cut -d' ' -f2`701 fanspeed=`cat $faninput` 705 702 if [ $fanspeed -gt $threshold ] 706 703 then
