handle multiple fans controlled by a single PWM

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2048 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker committed 2003-11-09 02:32:08 +00:00
1 parent d0497c3452
commit bdebe88c28
2 files changed
+9 -2

No files matched your search

+8 -2
View File
@@ -228,8 +228,14 @@ do
then
echo " It appears that fan $j"
echo " is controlled by pwm $i"
let pwmactivecount=1
pwmactive="$i ${pwmactive}"
#
# a PWM can control more than one fan....
#
if [ $pwmactivecount -eq 0 ]
then
let pwmactivecount=1
pwmactive="$i ${pwmactive}"
fi
sleep $DELAY
if [ $? -ne 0 ]
then