mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-09-01 06:45:24 +00:00
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
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -8,6 +8,7 @@ SVN HEAD
|
|||||||
Add support for temperature min and critical min hysteresis
|
Add support for temperature min and critical min hysteresis
|
||||||
sensors: 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
|
fancontrol: Deal with moving hwmon attributes
|
||||||
|
Fix shell error when FCFANS is not set
|
||||||
sensors-detect: Add detection of ADC128D818
|
sensors-detect: Add detection of ADC128D818
|
||||||
Add detection of AMD family 16h Kabini and Mullins
|
Add detection of AMD family 16h Kabini and Mullins
|
||||||
Add detection of ITE IT8620E and IT8623E
|
Add detection of ITE IT8620E and IT8623E
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
# Simple script implementing a temperature dependent fan speed control
|
# Simple script implementing a temperature dependent fan speed control
|
||||||
# Supported Linux kernel versions: 2.6.5 and later
|
# Supported Linux kernel versions: 2.6.5 and later
|
||||||
#
|
#
|
||||||
# Version 0.70
|
# Version 0.71
|
||||||
#
|
#
|
||||||
# Usage: fancontrol [CONFIGFILE]
|
# Usage: fancontrol [CONFIGFILE]
|
||||||
#
|
#
|
||||||
@@ -513,7 +513,7 @@ function UpdateFanSpeeds
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
# debug info
|
# debug info
|
||||||
|
Reference in New Issue
Block a user