Package: mordor Version: 6.66a-7 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 mordor init.d script would make it possible for us to use this information to check the current sequence and to speed up the debian boot.
I am helping out with 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. If the daemon does not need to do anything special when stopping, consider allowing sendsigs to kill it on shutdown, and remove 0 and 6 from Default-Stop. Thanks, Kel. --- diff -Nrup mordor-6.66a/debian/mordor.init mordor-6.66a.insserv/debian/mordor.init --- mordor-6.66a/debian/mordor.init 2008-03-03 21:41:56.000000000 +1000 +++ mordor-6.66a.insserv/debian/mordor.init 2008-03-03 21:41:29.000000000 +1000 @@ -1,4 +1,11 @@ #! /bin/sh +### BEGIN INIT INFO +# Provides: mordor +# Required-Start: $remote_fs $network +# Required-Stop: $remote_fs $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO # # mordor Sample startup script for mordor MUD daemon -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]