	Configuration of System V init

Description how the scripts in directory /etc/initd.d/ work, and how the
links in the /etc/rc?.d/ directories influence system startup/shutdown you can
find in http://www.debian.org/doc/debian-policy/ch-opersys.html#s-sysvinit

Use /etc/init.d/skeleton as example of initscript for your own needs.
Do not forget set execute permission:

$ cp /etc/init.d/skeleton /etc/init.d/myinit
$ chmod +x /etc/init.d/myinit
$ vi /etc/init.d/myinit

Use the update-rc.d command to create symbolic links in the /etc/rc?.d
as appropriate. 
For example to install to script for startup run:

$ update-rc.d startup-script-name defaults

to remove script from starup run:

$ update-rc.d startup-script-name remove

See update-rc.d --help for more details.

