Package: tspc Version: 2.1.1-6 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. The current boot and shutdown sequence for this script is slightly wrong, as it uses files in /usr/ but starts before mountnfs.sh, which will fail when /usr/ is NFS mounted, and stops after sendsigs, which will kill the daemon before this init.d script is executed. I recommend moving the script. The dependencies in the patch reflect the sequence position I recommend. diff -ur tspc-2.1.1.orig/debian/tspc.init tspc-2.1.1/debian/tspc.init --- tspc-2.1.1.orig/debian/tspc.init 2008-02-26 09:25:42.000000000 +0100 +++ tspc-2.1.1/debian/tspc.init 2008-02-26 09:31:48.000000000 +0100 @@ -1,6 +1,12 @@ #! /bin/sh -# -# tspc Script to configure the IPv6 tunnel to tspc +### BEGIN INIT INFO +# Provides: tspc +# Required-Start: $remote_fs +# Required-Stop: $remote_fs +# Default-Start: S +# Default-Stop: 0 6 +# Short-Description: Script to configure the IPv6 tunnel to tspc +### END INIT INFO # # Written by Martin Waitz <[EMAIL PROTECTED]> Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

