FS#17083 - [lm_sensors] rc.d script to stop fancontrol not working (patch included)
Attached to Project:
Arch Linux
Opened by ChrisVS (Strider) - Monday, 09 November 2009, 22:31 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 21 November 2009, 05:12 GMT
Opened by ChrisVS (Strider) - Monday, 09 November 2009, 22:31 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 21 November 2009, 05:12 GMT
|
Details
In package lm_sensors (version 3.1.1-2) a script fancontrol
is supplied to start and stop the daemon.
Starting the daemon works OK but stopping the daemon always fails. I found a solution by changing the 6th line in the script : PID=$(pidof -o %PPID /usr/sbin/fancontrol) to : PID=$(pidof -o %PPID -x /usr/sbin/fancontrol) This is needed because /usr/sbin/fancontrol is not a command but a bash script, hence pidof needs the -x switch. |
This task depends upon