mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-29 21:08:19 +00:00
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:
1 parent
d0497c3452
commit
bdebe88c28
2 files changed
+9
-2
No files matched your search
+8
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user