Squeeze introduced the new dependency based boot sequence. Now, the insserv command is used instead of the well known update-rc.d, if dependency-based booting is enabled.
insserv mydaemon
To make the new system work all startup scripts have to follow the guidelines. The /etc/init.d/apache2 header e.g. looks like this:
#!/bin/sh ### BEGIN INIT INFO # Provides: apache2 # Required-Start: $local_fs $remote_fs $network $syslog $named # Required-Stop: $local_fs $remote_fs $network $syslog $named # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # X-Interactive: true # Short-Description: Start/stop apache2 web server ### END INIT INFO [...]