Package:  snmptrapfmt
Version:  1.11
Tags:     patch
User:     [EMAIL PROTECTED]
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 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.

<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.

--- snmptrapfmt-1.12/debian/init.d.orig 2007-12-25 12:50:44.000000000 +0100
+++ snmptrapfmt-1.12/debian/init.d      2007-12-25 12:52:13.000000000 +0100
@@ -1,5 +1,14 @@
 #! /bin/sh
 #
+### BEGIN INIT INFO
+# Provides:          snmptrapfmt
+# Required-Start:    $remote_fs
+# Required-Stop:     $remote_fs
+# Should-Start:      $network snmpd
+# Should-Stop:       $network snmpd
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO
 #
 # Written by Miquel van Smoorenburg <[EMAIL PROTECTED]>.
 # Modified for Debian GNU/Linux by Ian Murdock <[EMAIL PROTECTED]>.



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

Reply via email to