[Resolvconf-devel] Bug#451751: resolvconf: Please add LSB formatted dependency info in init.d script
Petter Reinholdtsen
pere at hungry.com
Sun Nov 18 08:55:56 UTC 2007
Package: resolvconf
Version: 1.37
Tags: patch
User: initscripts-ng-devel at lists.alioth.debian.org
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.
--- /etc/init.d/resolvconf.orig 2006-12-12 20:00:46.000000000 +0000
+++ /etc/init.d/resolvconf 2007-11-18 08:54:47.000000000 +0000
@@ -1,4 +1,11 @@
#!/bin/sh
+### BEGIN INIT INFO
+# Provides: resolvconf
+# Required-Start: $local_fs
+# Required-Stop: $local_fs
+# Default-Start: S
+# Default-Stop: 0 6
+### END INIT INFO
#
# resolvconf -- Nameserver information manager
#
More information about the Resolvconf-devel
mailing list