Package:  alamin-server
Version:  0.3.7-2
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 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 -ur alamin-0.3.7.orig/scripts/init.d/alamin-server 
alamin-0.3.7/scripts/init.d/alamin-server
--- alamin-0.3.7.orig/scripts/init.d/alamin-server      2004-11-09 
00:43:38.000000000 +0100
+++ alamin-0.3.7/scripts/init.d/alamin-server   2008-01-10 10:33:10.000000000 
+0100
@@ -1,5 +1,12 @@
 #!/bin/sh
-#              Startup script for the Alamin GSM SMS Gateway
+### BEGIN INIT INFO
+# Provides:          alamin-server
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Startup script for the Alamin GSM SMS Gateway
+### END INIT INFO
 #
 #              Written by Andres Seco <[EMAIL PROTECTED]> using
 #              the skeleton provided by Miquel van Smoorenburg and

Happy hacking,
--
Petter Reinholdtsen



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

Reply via email to