Busybox shell scripting

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Mon Jan 16 20:56:03 UTC 2006


On Mon, 16 Jan 2006, Joshua ChaitinPollak wrote:

> On Jan 16, 2006, at 1:29 PM, Yann E. MORIN wrote:
>
> > On Monday 16 January 2006 183, Joshua ChaitinPollak wrote:
> > > I'm trying to write a few init scripts for use with Busybox, and I
> > > just discovered the 'source' command is not available with ash. Is
> > > there a workaround method to import variables into currently running
> > > scripts and to run sub-scripts without spawning more copies of ash?
> >
> > A single dot '.' will do the trick. At least I do that and it works.
>
> Thanks, thats exactly what I needed.

Or:

  # alias source='.'

should do the trick too.


Cheers,
Cristian



More information about the busybox mailing list