From 0e1d5df3ef113f818b0744cd6d45fe04f36b3676 Mon Sep 17 00:00:00 2001 From: Marius Reiner Date: Sat, 5 Jul 2003 16:00:20 +0000 Subject: [PATCH] (marius) added URL to project page (documentation) git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1856 7894878c-1315-0410-8ee3-d5d059ff63e0 --- prog/pwm/fancontrol | 5 ++++- prog/pwm/pwmconfig | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/prog/pwm/fancontrol b/prog/pwm/fancontrol index a9505ada..b46d0f12 100755 --- a/prog/pwm/fancontrol +++ b/prog/pwm/fancontrol @@ -2,7 +2,7 @@ # # Simple script implementing a temperature dependent fan speed control # -# Version 0.5 +# Version 0.6 # # Usage: fancontrol [CONFIGFILE] # @@ -11,6 +11,8 @@ # # Please send me any comments/suggestions to: marius.reiner@hdev.de Thanks! # +# The latest version of this script is available at: +# http://www.hdev.de/fancontrol/fancontrol.html # # Please be careful when using the fan control features of your mainboard, in # addition to the risk of burning your CPU, at higher temperatures there will @@ -114,6 +116,7 @@ function UpdateFanSpeeds { maxt=${AFCMAXTEMP[$fcvcount]} minsa=${AFCMINSTART[$fcvcount]} minso=${AFCMINSTOP[$fcvcount]} + tval=`cat ${tsens} |cut -d' ' -f3 |cut -d'.' -f1` pwmpval=`cat ${pwmo}` diff --git a/prog/pwm/pwmconfig b/prog/pwm/pwmconfig index 4addaf2a..038b73e3 100755 --- a/prog/pwm/pwmconfig +++ b/prog/pwm/pwmconfig @@ -37,7 +37,7 @@ echo 'physically verify that the fans have been to full speed' echo 'after the program has completed.' echo -DELAY=5 # 3 seconds delay is too short for large, thus I increased it to 5 +DELAY=5 # 3 seconds delay is too short for large fans, thus I increased it to 5 DIR=/proc/sys/dev/sensors if [ ! -d $DIR ]