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

Centos 6 Webserver

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

OpenVPN 2.3.6 on Centos 6

Install Epel repository rpm -Uvh...

LXDE + xrdp

How to install Lightweight X11 Desktop Environment (LXDE) on Ubuntu. apt-get update...

Web server

In this guide we will create our own web server on Centos 6.  We will use Apache...

Backup script sample

#!/bin/bash echo "packing files in progress..." tar -cf /home/backup/root_lib-$(date...