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.
Alexander