On 12/20/06, Kevin Williams <[EMAIL PROTECTED]> wrote:
> Any ideas/suggestions/pointers ?? Pleeeeeeeez !??
>
> Kevin
>
>
> On 12/13/06, Kevin Williams <[EMAIL PROTECTED]> wrote:
> > I've been trying to understand the boot process in BLFS and I'm stuck when
> > it
> > comes to understanding rcsysinit.
> >
> > All the linux distros I've used in the past use a script "rc.sysinit" or
> > similar to do system initialization and then execute the script "rc" to to
> > enter one of the runlevels.
> >
> > In BLFS, /etc/inittab calls the script "rc" for both system init and to boot
> > into any of the runlevels. OK, It doesn't matter what script is called as
> > long as the system is initialized and the runlevel is entered successfully.
> >
> > My question is that, how do the scripts under /etc/rc.d/rcsysinit.d get
> > executed ? I don't see any reference to these scripts in the script
> > "rc" , except a check that sees if the start links in rcsysinitd.d also
> > exist
> > in the runlevel in question. These scripts are not called from within "rc"
> > script. Yet, these scripts get called anyway !!?? How is that ?

I just looked for the first time, but this is what I can tell. In /etc/inittab:

si::sysinit:/etc/rc.d/init.d/rc sysinit

This is running /etc/rc.d/init.d/rc with an argument of sysinit. In
/etc/rc.d/init.d/rc, $1 (the first argument) gets mapped to runlevel.

[ "${1}" != "" ] && runlevel=${1}

It then starts executing scripts in ${rc_base}/rc${runlevel}.d.
rc_base is set in /etc/sysconfig/rc. I don't know how that helps your
bootsplash scenario.

HTH

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to