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

NFS on Centos 6

How to install NFS on Centos 6 yum install nfs-utils nfs-utils-lib Set nfs to start...

FreePBX

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

Set hostname

Set host name on Centos: /etc/sysconfig/network   HOSTNAME="mycomputer"...

Create OpenVPN client

The following instructions are for those VPSGet customers who have installed OpenVPN...

Security tips for Linux server

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