Bug#468233: siproxd: Please add LSB formatted dependency info in init.d script

Morten Werner Forsbring werner at debian.org
Wed Feb 27 22:01:06 UTC 2008


Package:  siproxd
Version:  1:0.5.13-1
Tags:     patch
User:     initscripts-ng-devel at lists.alioth.debian.org
Usertags: missing-dependency

To be able to check boot script order, and also to be able to start
boot scripts in parallel, it is important to know the dependencies of
the various boot scripts.  The Linux Software Base specifies a init.d
header file format useful for this purpose, and adding such header to
the anacron init.d script would make it possible for me to use this
information to check the current sequence and to speed up the debian
boot.

I am working on a system to update the boot sequence based on these
dependencies, and would like see this as the default in Lenny.
Because of this, it is nice if the dependencies was updated quickly.

<URL:http://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html>
documents the LSB header format.  Some debian notes are available from
<URL:http://wiki.debian.org/LSBInitScripts>.

Here is a patch to document the dependencies.  I hope this is correct.

diff -uN siproxd.init.orig siproxd.init
--- siproxd.init.orig   2008-02-27 22:06:00.000000000 +0100
+++ siproxd.init        2008-02-27 22:04:33.000000000 +0100
@@ -1,5 +1,12 @@
 #! /bin/sh
-
+### BEGIN INIT INFO
+# Provides:          siproxd
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO
+#
 # Modified for use with Siproxd by Dan Weber <dan at mirrorlynx.com>
 # Author:      Miquel van Smoorenburg <miquels at cistron.nl>.
 #              Ian Murdock <imurdock at gnu.ai.mit.edu>.

Thanks in advance.


- Werner





More information about the Pkg-voip-maintainers mailing list