Problem with ash redirection changing behaviour

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Wed Jun 2 17:18:06 UTC 2010


On Wed, 2 Jun 2010, Richard Purdie wrote:

> > Any particular reason to 'source'?  You end up with environment
> > clutter:
> >
> > dump=''
> > fs=''
> > junk=''
> > mnt=''
> > opts=''
> > pass=''
> > type=''
> >
> > Is that intentional?
>
> Its sourced to avoid forking.

Right.

> As you've probably guessed, this is a fragment of an initscript

Yes.

> and when you stop forking for many initscripts, it does significantly
> improve boot time.

Interesting.
I presume your 'init=' is a script and not a full fledged /sbin/init?


Cheers,

-- 
Cristian


More information about the busybox mailing list