Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25964 - The init.d script of lm-sensors don't set sensors parameters
Summary: The init.d script of lm-sensors don't set sensors parameters
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Low enhancement (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-05 10:04 UTC by Brice Arnould (un_brice)
Modified: 2004-07-13 05:32 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brice Arnould (un_brice) 2003-08-05 10:04:19 UTC
It seems that this script don't run ' /usr/bin/sensors -s' wich set parameters of captors to 
those readed in the config file. 
This command should be added at the end of the start() function.
Comment 1 A. Craig West 2003-09-26 21:05:39 UTC
I agree that this is a problem, at least with lm-sensors-2.7.0-r1. I added
these lines to /etc/init.d/lm_sensors at the end of the start() function:

        if ! [ -f /etc/sensors.conf ] ; then
                eerror "/etc/sensors.conf does not exist!"
                return 1
        fi

        ebegin "Initializing sensors"
        /usr/bin/sensors -s &>/dev/null
        eend $?

I
Comment 2 Brandon Low (RETIRED) gentoo-dev 2004-02-10 12:50:23 UTC
Passing this off to plasmaroo because he is the lm-sensors maintainer now.
Comment 3 Michael Cramer 2004-07-13 01:43:41 UTC
The problem with the init-script is still in version 2.8.7. can this please fixed. 
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2004-07-13 05:32:55 UTC
Now in CVS - the change should reach Portage within an hour. Thanks!