Package: nvi
Version: 1.79-22
Tags:    patch

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 libdevmapper init.d script would make it possible for me to use
this information to check the current sequence and speed up the debian
boot.

<URL:http://wiki.debian.org/LSBInitScripts> documents the LSB header
format.

Here is a patch to document the dependencies of nviboot.  As far as I
can tell it need all file systems mounted, and should only start in
runlevel S.  I hope this was correct.  Here is a patch to enable this.

--- /etc/init.d/nviboot.orig 2005-03-07 00:29:31.000000000 +0100
+++ /etc/init.d/nviboot        2006-09-23 12:53:35.000000000 +0200
@@ -1,8 +1,13 @@
 #!/bin/sh
+### BEGIN INIT INFO
+# Provides:          nviboot
+# Required-Start:    $remote_fs
+# Required-Stop:
+# Default-Start:     S
+# Default-Stop:
+# Short-Description: Script to recover nvi edit sessions.
+### END INIT INFO
 #      @(#)recover.script      8.7 (Berkeley) 8/16/94
-#
-# Script to recover nvi edit sessions.
-#
 PATH=/sbin:/usr/sbin:/bin:/usr/bin
 RECDIR=/var/tmp/vi.recover
 SENDMAIL=/usr/sbin/sendmail


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

Reply via email to