Determine which run level(s) you want it to start on

You will need to use chkconfig.  It will be something like chkconfig --level 345 ssh . 

http://linuxcommand.org/man_pages/chkconfig8.html


------------------------
Keith Smith

--- On Sun, 7/1/12, joe@actionline.com <joe@actionline.com> wrote:

From: joe@actionline.com <joe@actionline.com>
Subject: How to auto-start /etc/init.d/sshd start
To: plug-discuss@lists.plug.phoenix.az.us
Date: Sunday, July 1, 2012, 12:53 PM

How can I get the following command to run automatically
whenever I boot up my Thinkpad?

# /etc/init.d/sshd start <ENTER>

Normally, I have to su to root, and then run the command.




---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss