mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 14:25:39 +00:00
Don't use named pipes when we don't need them. Named pipes have been reported
to cause trouble on some systems. This closes ticket #2319. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5271 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -2,6 +2,7 @@ lm-sensors CHANGES file
|
||||
-----------------------
|
||||
|
||||
SVN-HEAD
|
||||
fancontrol: Don't use named pipes when we don't need them (#2319)
|
||||
sensors-detect: Add Intel SCH (bus) support
|
||||
Add SMSC EMC6D103 support
|
||||
Improve MAX6657, MAX6658, MAX6659 detection
|
||||
|
@@ -343,7 +343,8 @@ function UpdateFanSpeeds {
|
||||
then # if fan was stopped start it using a safe value
|
||||
echo $minsa > $pwmo
|
||||
# Sleep while still handling signals
|
||||
read < <(exec sleep 1)
|
||||
sleep 1 &
|
||||
wait $!
|
||||
fi
|
||||
fi
|
||||
echo $pwmval > $pwmo # write new value to pwm output
|
||||
@@ -381,5 +382,6 @@ while true
|
||||
do
|
||||
UpdateFanSpeeds
|
||||
# Sleep while still handling signals
|
||||
read < <(exec sleep $INTERVAL)
|
||||
sleep $INTERVAL &
|
||||
wait $!
|
||||
done
|
||||
|
Reference in New Issue
Block a user