-   Slackware (
-   -   Location of prog? (

tfnc99 09-12-2012 05:46 PM

Location of prog?
After doing sensors-detect, it said to move a file from prog to /etc/init.d to load the moduals at startup. Where is this prog? I cant find it D:

Didier Spaier 09-12-2012 06:16 PM

Knowing the name of that file, "locate <filename>" should tell you where it lies now, provided your locate database be updated first.

Out of curiosity, why ask this question in the Slackware forum as, according to your signature, you are running Kubuntu 12.04?

Bear in mind that in Slackware, /etc/init.d is a symlink to /etc/rc.d/init.d and this place is provided mainly for commercial applications which expect to sit there.

The usual way to start a program not included in Slackware at start up is to put a script to launch it in /etc/rc.d, make it executable, then add lines to run that script in /etc/rc.d/rc.local.

Alien Bob 09-12-2012 06:17 PM

You can download that init script from the lm_sensors web site, it is not included with Slackware:

# wget -O /etc/rc.d/rc.lm_sensors
chmod +X /etc/rc.d/rc.lm_sensors

And then add these lines to your /etc/rc.d/rc.local script:

if [ -x /etc/rc.d/rc.lm_sensors ]; then
  echo "Starting lm_sensors: /etc/rc.d/rc.lm_sensors start
  /etc/rc.d/rc.lm_sensors start

If you ran sensors-detect it will have created a configuration file /etc/sysconfig/lm_sensors which is the configuration file for this init script.


tfnc99 09-12-2012 06:18 PM

I use Slackware on my secondary-computer. I also have a KVM img somewhere...

All times are GMT -5. The time now is 03:03 AM.