Home arrow Debian arrow Starting a script at boot in Debian Linux
Starting a script at boot in Debian Linux  
Digg Reddit Ma.gnolia Stumble Upon Facebook Twitter Google Yahoo! MyWeb Furl" BlinkList Technorati Mixx Bookmark
This small howto shows you how to setup a script you've created to run at boot time.

Debian Linux keeps scripts that start services in /etc/init.d directory. Also at boot time will run scripts automaticaly from /etc/rc2.d directory. So create your script in /etc/init.d firectory and then create a symlink in /etc/rc2.d directory for your script.

For example you've created a firewall file in /etc/init.d/firewall.sh and you want this script to run at boot. You must then create a symbolik link in /etc/rc2.d like this:

ln -s /etc/init.d/firewall.sh /etc/rc2.d/S91firewall

 
< Prev   Next >

Misc

Linux Tips

Polls

What is your favorite Linux Distribution ?