Autorun in Linux

To set a script to start at boot in CentOS, add it into /etc/rc3.d/S99local.

For example:

/root/./start.sh

This script will be executed *after* all the other init scripts.

Was this answer helpful?

 Print this Article

Also Read

Sendmail [25: Connection refused] fix

If you can't receive email from the outside and got next error:  (Delivery Status Notification...

Security tips for Linux server

1. Use only  strong passwords for all accounts , especially for root. Always use a secure root...

Php

Can I help you? Our agents are ready to assist you. Click "Chat Now" to be...

Centos 6 Webserver

In this article we will install some software that is useful on a webserver based on...

Changing ssh port

How to change ssh port. Open the file /etc/ssh/sshd_config with your favourite text...