Re: an inittab question
On Thu, Jan 04, 2007 at 06:22:49AM -0800, Junior wrote:
> > -----Original Message-----
> > From: firstname.lastname@example.org
> > Sent: Wed, 3 Jan 2007 16:06:28 +0000
> > To: email@example.com
> > Subject: Re: an inittab question
> >>> si::sysinit:/etc/init.d/rcS
> >> I've looked at several docs describing init scripts but I haven't found
> >> any that tells me whan to use inittab vs rc scripts.
> > Inittab entries for a certain runlevel are launched in parallel, while
> > rc scripts are run in sequence, which is why you generally have one si
> > entry calling a script.
> > so you probably want one entry in inittab for system initialisation
> > that calls rcS
> > doing what you want to do in order
> It will execute in order but will not wait for the previous launched program to exit, right?
> That's primarily what I'm trying to achieve.
based on informations from you, I would certainly change
line to something like
(i.e. using only one sysinit line in inittab) and created
or created an S00myuiprogram link to /bin/my_UI_program.
if you want to continue with rcS while running your program,
just fork and exit in my_UI_program. rcS will continue while
you run my_UI_program.