[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



On 8/28/07, Bernardo Innocenti <bernie 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]