[Juliusz Chroboczek]
> I think that these warning should be disabled by default -- there's no
> reason to put LSB tags in local scripts.

There is a reason to but LSB tags in local scripts.  To ensure that
they are executed in the correct place during boot and shutdown.  This
is the reason insserv is warning about scripts missing dependency
information.

So just go ahead and add dependency information to the scripts.  It is
not very hard.  Something like this probably work fine in most cases:

  ### BEGIN INIT INFO
  # Provides:             scriptname
  # Required-Start:       $remote_fs $syslog
  # Required-Stop:        $remote_fs $syslog
  # Default-Start:        2 3 4 5
  # Default-Stop:         0 1 2
  # Short-Description:    description
  ### END INIT INFO

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to