Package:  cnews
Version:  cr.g7-40.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 cnewsclean init.d script would make it possible for us to use this
information to check the current sequence and to speed up the Debian
boot.

I am helping out with 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.

Thanks in advance.


- Werner

diff -ruN cnews-cr.g7.orig/debian/cnewsclean
cnews-cr.g7/debian/cnewsclean
--- cnews-cr.g7.orig/debian/cnewsclean  2008-03-06 21:55:43.000000000
+0100
+++ cnews-cr.g7/debian/cnewsclean       2008-03-06 22:14:48.223427896
+0100
@@ -1,4 +1,11 @@
 #! /bin/sh
+#
+### BEGIN INIT INFO
+# Provides:          cnewsclean
+# Required-Start:    $remote_fs
+# Default-Start:     S
+### END INIT INFO
+
 set -e
 
 test -f /usr/lib/news/maint/newsboot || exit 0



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

Reply via email to