Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-12-2012, 04:46 PM   #1
Registered: Sep 2012
Posts: 58

Rep: Reputation: Disabled
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:
Old 09-12-2012, 05:16 PM   #2
Didier Spaier
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 5,639

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
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.
Old 09-12-2012, 05:17 PM   #3
Alien Bob
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,792

Rep: Reputation: Disabled
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.

Old 09-12-2012, 05:18 PM   #4
Registered: Sep 2012
Posts: 58

Original Poster
Rep: Reputation: Disabled
I use Slackware on my secondary-computer. I also have a KVM img somewhere...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
A script is running from an unknown we can find its exact location. saurav23june Linux - Newbie 5 05-15-2012 04:27 AM
cd prog ahmed gamal Linux - Software 1 11-14-2005 06:55 AM
apache: location in location eantoranz Linux - Networking 2 08-08-2005 09:37 PM
I want to start a prog from another prog but not as child grupoapunte Programming 5 05-23-2005 05:37 PM
Better buying "advanced linux prog" or "unix advanced prog" Dominik Programming 3 12-31-2003 01:11 PM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration