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

nginx

How to install nginx on Centos Add nginx repo first. To add it, create the file...

Iptables

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

Disabling selinux

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

Clear swap in Centos

Print memory usage [root@localhost]# free -m              total       used       free...

FreePBX

FreePBX is an open source GUI (graphical user interface) that controls and manages Asterisk (PBX)...