On Don, 2005-03-24 at 16:44 -0700, Nathan Coulson wrote: > On Thu, 24 Mar 2005 19:53:02 +0100, Edwin van Vliet <[EMAIL PROTECTED]> wrote: > > More questions: the LSB specifications mention "facilities" like > > $local_fs and $network, but is not very clear on the implementation of > > it all. I have therefore just created /etc/init.d/local_fs and > > /etc/init.d/network as I think that the install_initd scripts should > > provide any implementation logic (and should therefore be included with > > the LSB compliant package). Also: if the /etc/init.d scripts themselves > > include their own requirements, the install_initd script should probably > > automatically create the symbolic links and should make sure the > > scripts are called in the correct order. This problem can be resolved > > later on. > > I dont know what it means by this either, but I think the $ is part of > the filename... Perhaps the status lines are called to find out if a > service is running or not.
AFAIK facility and file names don't need to match - although it probably makes sense to do so. The facility names $local_fs, etc. are predefined LSB names which must be accepted by the init system in the Required-{Start,Stop} headers. Whether you provide a local_fs script or name them differently is your own decision but it should probably contain the "Provides: $local_fs" line. Regards, JÃrg -- JÃrg Billeter <[EMAIL PROTECTED]> -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page