LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-04-2006, 12:34 AM   #1
tmtd
LQ Newbie
 
Registered: Apr 2006
Distribution: Trustix/DSL
Posts: 2

Rep: Reputation: 0
Getting programs to start on boot?


I'm using the distro trustix-3.0.i586.

My question is: How do I get non-essential programs to start with linux on boot in case I ever have to or want to restart Linux from SSH? All I really require is a way to make sshd start on boot.

I do not often have direct access to my Linux-box and would greatly appreciate any help that can be given.
 
Old 04-04-2006, 11:37 AM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,837

Rep: Reputation: 108Reputation: 108
Depending on /etc/init style of your system, add one or two lines to correct place.

If same as Debian,

#1. find your runlevel.
#2. make sure that you have ssh start script at /etc/init.d
#3. make a link at rcN.d (N is your runlevel), to /etc/init.d/ssh. The name of this link should be S20ssh or something similar.
#4. make a link at rc0.d to /etc/init.d/ssh. The name of the link should be K20ssh or something similar.
#5. make a link at rc6.d to /etc/init.d/ssh. The name of the link should be K20ssh or something similar.


However, I somewhat think that this was done when you installed ssh.
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
options for which programs start at boot? trempel SUSE / openSUSE 2 01-07-2006 12:13 AM
How do I start programs automatically with boot up? Kasperisa Linux - Newbie 6 07-15-2004 04:29 PM
How to make programs start on boot... AudioMechanic Linux - Software 4 04-16-2004 07:52 AM
Configuring start up and boot programs techrolla Linux - General 9 02-04-2004 06:29 PM
How to start programs automatically at boot? onchiman Linux - Hardware 2 03-18-2003 11:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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