Veja outros scripts em /etc/init.d
e você deverá ver um bloco de comentário de cabeçalho LSB semelhante a este exemplo de fetchmail
:
### BEGIN INIT INFO
# Provides: fetchmail
# Required-Start: $network $local_fs $remote_fs
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 1
# Short-Description: init-Script for system wide fetchmail daemon
### END INIT INFO
Este tipo de bloco é obrigatório.
De man update-rc.d
:
update-rc.d has two modes of operation for installing scripts into the boot sequence. A legacy mode where command line arguments are used to decide the sequence and runlevel configuration, and the default mode where dependency and runlevel information in the init.d script LSB comment header is used instead. Such header is required to be present in init.d scripts. See the insserv(8) manual page for details about the LSB header format.