Package: devfsd
Version: 1.3.25-23
Severity: wishlist
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 devfsd 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://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html>
documents the LSB header format.

Here is a patch to document the dependencies of devfsd.  As far as I
can tell (it starts first in the boot sequence on my machine), it does
not depend on any of the other init.d scripts, and should be running
for all runlevels except 0 (halt) and 6 (reboot).

I decided to keep using tabs in the header, as it was already using
tabs.  I hope this was correct.

diff -ur devfsd-1.3.25/debian/init.d devfsd-1.3.25-pere/debian/init.d
--- devfsd-1.3.25/debian/init.d Tue Aug 23 13:15:49 2005
+++ devfsd-1.3.25-pere/debian/init.d    Tue Aug 23 13:19:51 2005
@@ -1,9 +1,15 @@
 #!/bin/sh
-#
-# devfsd               This script handles the devfs startup, so that
+### BEGIN INIT INFO
+# Provides:            devfsd
+# Required-Start:
+# Required-Stop:
+# Default-Start:       S 1 2 3 4 5
+# Default-Stop:                0 6
+# Short-Description:   Start devfsd and fix device config and permissions.
+# Description:         This script handles the devfs startup, so that
 #                      permissions are set correctly and device symlinks
 #                      are available.
-#
+### END INIT INFO
 
 [ -x /sbin/devfsd ] || exit 0
 


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

Reply via email to