Package: anacron Version: 2.3-11 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. <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 relative to version 2.3-13 to document the dependencies of anacron. I hope this is correct. --- /etc/init.d/anacron.orig 2004-12-16 00:35:24.000000000 +0100 +++ /etc/init.d/anacron 2007-10-27 11:01:34.000000000 +0200 @@ -1,4 +1,12 @@ #! /bin/sh +### BEGIN INIT INFO +# Provides: anacron +# Required-Start: $syslog $time +# Required-Stop: $syslog $time +# Default-Start: 1 2 3 4 5 +# Default-Stop: 0 6 +### END INIT INFO +# # /etc/init.d/anacron: start anacron # -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

