It looks as if Debian does not use rc.local to customize the boot process; what facilities are provided?
Suppose a system needs to execute script foo on start-up, or on entry to a particular (System V) runlevel. Then the system administrator should: • Enter the script foo into the directory /etc/init.d/. • Run the Debian command update-rc.d with appropriate arguments, to specify which runlevels should start the service, and which runlevels should stop the service. • Consider rebooting the system to check that the service starts correctly (assuming that you’ve asked for it to be started in the default runlevel). Otherwise, manually start it by running `/etc/init.d/foo start’. One might, for example, cause the script foo to execute at boot-up, by putting it in /etc/init.d/ and running update-rc.d foo defaults 19. The argument `defaults’ refers to the default runlevels, which means (at least in absence of any LSB comment block to the contrary) to start the service in runlevels 2 through 5, and to stop the service in runlevels 0, 1 and 6. (Any LSB Default-Start and Default-Stop directives in