Thanks for the reply,

So stupid of me to not have realized that sysinit when passed as an arg to rc 
becomes "rcsysinitd.d" by the concatenation ${rc_base}/rc${runlevel}.d !! I 
don't know why I were expecting the $runlevel to be a numeral and thus failed 
to see the aforementioned result !!

Sorry for the noise ! I guess, I will have to look into the source code of 
bootsplash as there don't seem to be any documentation at all. Whatever docs 
available are far outdated !!

Thanks for the help anyways.

In case you don't hear from me soon, Merry Christmas and a prosperous new year 
to all of the blfs team/mailing list.

Kevin


On Wednesday 20 December 2006 13:37, Dan Nicholson wrote:
> 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