2
0
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:
Jean Delvare
2008-06-02 06:21:06 +00:00
parent 34881b958e
commit a5f4b32d17
2 changed files with 5 additions and 2 deletions

View File

@@ -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

View File

@@ -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