Re: Can't get sensors to work...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 13 Nov 2004 22:09, Alexander Dalloz wrote:
> Am Sa, den 13.11.2004 schrieb Vinicius um 22:52:
>
> Please don't top-post!
>
> > Now, it shows
> > "Do you want to generate /etc/sysconfig/lm_sensors? (YES/no):
> > Copy prog/init/lm_sensors.init to /etc/rc.d/init.d/lm_sensors
> > for initialization at boot time."
> >
> > "# ls -l lm_sensors
> > -rwxr-xr-x  1 root root 3097 Out 14 12:06 lm_sensors"
> >
> > "# locate lm_sensors.init
> > /usr/share/doc/lm_sensors-2.8.7/lm_sensors.init
> > /usr/share/doc/lm_sensors-2.8.7/lm_sensors.init.redhat
> > /usr/share/doc/lm_sensors-2.8.7/lm_sensors.init.suse"
> >
> > Then, should I copy the first one to "/etc/rc.d/init.d/lm_sensors",
> > please?
>
> Yes, or the lm_sensors.init.redhat. You will have to do some
> modifications so that the init script will work on FC2. Set the needed
> modules in /etc/sysconfig/lm_sensors. Don't set the modules being loaded
> in /etc/rc.local. It is much better to use the init script in the
> desired runlevel (you will have to use chkconfig too) than to put the
> loading into the rc.local script file.

Hmm, thats good advice Alexander, I have a few things in rc.local to load at 
boot time (that do not use or need an init file). 
I was not aware of the lm_sensors.init script though :( 
Is it really required to be a service? Surley this should of been done right 
by the RPM packagers if it is needed.

Just my thoughts,

Colin
-- 
Fedora Core 2, Custom Built Kernel 2.6.9-ck3
KDE-Redhat-3.3.1-0.2.2.kde
Registered Linux user number #342953


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux