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

Pptpd on Centos 6

How to install pptpd server on Centos 6 NOTE than pptpd is potentially unsecure and the tunnel...

Set hostname

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

Changing mac address in VMware

In Centos: 1. Edit old mac HWADDR=XX:XX:XX:XX:XX:XX in the file...

Fail2ban

Fail2ban scans log files (e.g. /var/log/apache/error_log) and bans IPs that show the...

Disabling selinux

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