Package:  nstx
Version:  1.1-beta4-1
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.

diff -ur nstx-1.1-beta6-orig/debian/nstx.nstxcd.init 
nstx-1.1-beta6/debian/nstx.nstxcd.init
--- nstx-1.1-beta6-orig/debian/nstx.nstxcd.init 2007-12-25 12:57:33.000000000 
+0100
+++ nstx-1.1-beta6/debian/nstx.nstxcd.init      2007-12-25 12:58:22.000000000 
+0100
@@ -1,4 +1,13 @@
 #! /bin/sh
+### BEGIN INIT INFO
+# Provides:          nstxcd
+# Required-Start:    $network
+# Required-Stop:     $network
+# Should-Start:      nstxd
+# Should-Stop:       nstxd
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO
 #
 # /etc/init.d/nstxcd: start and stop the nstx IP over DNS client

diff -ur nstx-1.1-beta6-orig/debian/nstx.nstxd.init 
nstx-1.1-beta6/debian/nstx.nstxd.init
--- nstx-1.1-beta6-orig/debian/nstx.nstxd.init  2007-12-25 12:57:33.000000000 
+0100
+++ nstx-1.1-beta6/debian/nstx.nstxd.init       2007-12-25 12:58:13.000000000 
+0100
@@ -1,4 +1,11 @@
 #! /bin/sh
+### BEGIN INIT INFO
+# Provides:          nstxd
+# Required-Start:    $network
+# Required-Stop:     $network
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO
 #
 # /etc/init.d/nstxd: start and stop the nstx IP over DNS daemon




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

Reply via email to