[Gergely Nagy] > No, it would be a terrible idea: First, to reliably support all of the > init systems, you'd have to target the dumbest one, and either not > support the features of the others, or emulate them to some extent > within generated code. > > Not supporting features of modern init systems means that the generator > is completely useless.
Your assumption is wrong. Most packages among the approximately 1000 packages with init.d scripts today have very simple needs. They need to start, stop and restart one daemon. For these around 900 packages (the remaining 100 start early in the boot and have more complex needs), a generator would be very useful. :) This is based on my experience when I went through most of the 1000 packages with init.d scripts to get them to include LSB style dependency information. For the remaining 100 or so packages, I expect hand written boot scripts for each individual boot system is needed. -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2flwqgt25ui....@login2.uio.no