/lib/lsb/init-functions vs. /etc/init.d/functions in init scripts?

Ian Burrell ianburrell at gmail.com
Tue Aug 28 18:43:49 UTC 2007


On 8/28/07, Bernardo Innocenti <bernie at codewiz.org> wrote:
> On 08/27/2007 06:37 PM, John Dennis wrote:
> > Folks are supposed to upgrade their init.d scripts to support LSB.
> >
> > Some of this is covered here:
> >
> > http://fedoraproject.org/wiki/FCNewInit/Initscripts
> >
> > One aspect of that is to switch from sourcing /etc/init.d/functions to
> > sourcing /lib/lsb/init-functions.
>
> On the OLPC, we were concerned that the old initscript
> infrastructure had a considerable overhead.  Would this
> change have a beneficial impact on speed?
>

The /lib/lsb/init-functions functions use the /etc/init.d/functions
functions.  It will be slower since it adds more indirection and calls
scripts instead of just running functions.
 - Ian




More information about the fedora-devel-list mailing list