Package: tpconfig Version: 3.1.3-9 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 anacron 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. I am working on 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. diff -ur tpconfig-3.1.3.orig/debian/init.d tpconfig-3.1.3/debian/init.d --- tpconfig-3.1.3.orig/debian/init.d 2008-01-23 09:32:04.000000000 +0100 +++ tpconfig-3.1.3/debian/init.d 2008-01-23 09:33:41.000000000 +0100 @@ -1,5 +1,11 @@ #!/bin/sh - +### BEGIN INIT INFO +# Provides: tpconfig +# Required-Start: $remote_fs $syslog +# Required-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: +### END INIT INFO # $Id: init.d,v 1.10 2001/03/05 17:35:08 cph Exp $ # # Copyright (c) 2001 Massachusetts Institute of Technology As the stop script do anything, I do not list any stop runlevels in default-stop, nor any stop dependencies. I recommend the call to dh_installinit is changed to reflect this. Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]