Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-21-2005, 10:35 AM   #1
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 38
Starting different services at boot

I am using an older computer (I wonder how many Slackware posts start like that), a laptop. I am running the brilliant Slackware 10.1.
When I installed it, I asked it not to run pcmcia at boot. Now, however, I have set up a wireless network in the house, because the wife asked me to (I didn't really need it, but now she uses her PC in bed, and the sight of an almost naked woman with a 12" IBook is hot enough to make it worth a bit of trouble). I would like to set up pcmcia to run at boot.
Now, as I understand it, the services that run at boot are defined in rc.d. Can I make a change to it manually, or can someone tell me what to run to make it happen?
Old 05-21-2005, 11:33 AM   #2
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Rep: Reputation: 30
Sure you can!

When slack boots it reads if the shell scripts (rc.whatever in your rc.d directory) are 'exec' or not.

To make them run at boot time, just:
#chmod +x /etc/rc.d/rc.whatever
Also, if you want to run them after bootup... without setting them to 'exec', you can always do this:

#sh /etc/rc.d/rc.whatever switch
Where 'whatever' is replaced with the service, and 'switch' is replaced with start, stop, or restart depending on what you want to do and which service you are using.

The command sh, is just a link to bash (by default), so you are really just telling bash to run the script directly and exit vs having another script que it on bootup.
Old 05-21-2005, 02:46 PM   #3
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Original Poster
Rep: Reputation: 38
Slackish simplicity.
I expected something like this, brilliant.
Thank you.


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
Stop services from starting at boot augu2000 Slackware 6 11-04-2005 08:24 PM
a question about starting of services during boot time tuxfood Red Hat 1 04-22-2005 10:59 PM
Starting services at boot bionikxtc Solaris / OpenSolaris 1 03-12-2004 10:27 PM
starting services at boot-time noisybastard Linux - Newbie 2 11-09-2003 06:13 PM
Starting Services InEeDhElPlInUx Linux - Newbie 9 11-06-2003 12:57 PM

All times are GMT -5. The time now is 12:28 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