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

Generating public/private ssh keys

How to generate and use public / private ssh keys This guide is tested on Centos 6 To...

Centos 6 Webserver

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

Iptables

Iptables is a Linux based packet filtering firewall. It is a service (daemon)...

Squid+Privoxy+Tor

How to install squid with tor [NOTE: According to vpsget.com AUP/TOS you can use private proxy...

Disabling selinux

Selinux annoying you? Get it out! How to disable selinux Open its config file nano...