On 25/11/2007, C.J. Adams-Collier <firstname.lastname@example.org> wrote:Ever heard about lsb-base and /lib/lsb/init-functions? :)
> is there something like a service-common package that provides a helper
> script like the following for services to source?
> I'm thinking that it would belong somewhere like
> /usr/share/service-common/init.sh. I have not tested the
> following yet, and I'm a sucky bash programmer.
That's exactly what you are looking for.
dh_make provides an example init.d script using the LSB init functions
(but it isn't very compliant as it is now)
Atomo64 - Raphael
Please avoid sending me Word, PowerPoint or Excel attachments.
Say NO to Microsoft Office broken standard.