Hi Petter Thanks a lot for your report. Will be corrected on next upload.
Best regards, // Ola On Fri, Feb 29, 2008 at 08:25:36AM +0100, Petter Reinholdtsen wrote: > Package: dhttpd > Version: 1.02a-15 > 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. > I was very confused by the current boot sequence numbers (starting > before networking is set up, but also stopping before networking is > taken down), so please check carefully that I picked the correct > dependencies. > > diff -ur dhttpd-1.02a.orig/debian/init.d dhttpd-1.02a/debian/init.d > --- dhttpd-1.02a.orig/debian/init.d 2008-02-29 08:22:32.000000000 +0100 > +++ dhttpd-1.02a/debian/init.d 2008-02-29 08:24:20.000000000 +0100 > @@ -1,4 +1,11 @@ > #! /bin/sh > +### BEGIN INIT INFO > +# Provides: dhttpd > +# Required-Start: $remote_fs $syslog > +# Required-Stop: $remote_fs $syslog > +# Default-Start: 2 3 4 5 > +# Default-Stop: 0 1 6 > +### END INIT INFO > # > # This file was automatically customized by debmake on Tue, 4 Feb 1997 > 21:27:39 -0800 > # > > As the stop script do not seem to do much except killing the daemon, > that task might be better left to the sendsigs script in runlevel 0 > and 6, to speed up shutdown. If this is indeed the case, I recommend > removing 0 and 6 from the Default-Stop list. > > Happy hacking, > -- > Petter Reinholdtsen > > > -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | http://opalsys.net/ +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

