diff options
author | khali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0> | 2014-11-05 07:28:35 +0000 |
---|---|---|
committer | khali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0> | 2014-11-05 07:28:35 +0000 |
commit | 3bee25a78e6954db15c3da289c1555f580dfa446 (patch) | |
tree | a330ebc379e8d00bebd52f92748b792511560383 | |
parent | 30e1486803c3d003221e67422da02163523f1267 (diff) | |
download | lm-sensors-3bee25a78e6954db15c3da289c1555f580dfa446.tar.gz |
fancontrol: Fix shell error when FCFANS is not set
The bug was introduced when I added support for multiple fans
controlled by the same PWM output, in r6000. lm-sensors versions
affected: 3.3.2 to 3.3.5.
This fixes SUSE bug #903520:
https://bugzilla.suse.com/show_bug.cgi?id=903520
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6255 7894878c-1315-0410-8ee3-d5d059ff63e0
-rw-r--r-- | CHANGES | 1 | ||||
-rwxr-xr-x | prog/pwm/fancontrol | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -8,6 +8,7 @@ SVN HEAD Add support for temperature min and critical min hysteresis sensors: Add support for temperature min and critical min hysteresis fancontrol: Deal with moving hwmon attributes + Fix shell error when FCFANS is not set sensors-detect: Add detection of ADC128D818 Add detection of AMD family 16h Kabini and Mullins Add detection of ITE IT8620E and IT8623E diff --git a/prog/pwm/fancontrol b/prog/pwm/fancontrol index 86180ec8..85aa8bc9 100755 --- a/prog/pwm/fancontrol +++ b/prog/pwm/fancontrol @@ -3,7 +3,7 @@ # Simple script implementing a temperature dependent fan speed control # Supported Linux kernel versions: 2.6.5 and later # -# Version 0.70 +# Version 0.71 # # Usage: fancontrol [CONFIGFILE] # @@ -513,7 +513,7 @@ function UpdateFanSpeeds fi done else - fanval=1 # set it to a non zero value, so the rest of the script still works + min_fanval=1 # set it to a non zero value, so the rest of the script still works fi # debug info |