On Saturday 31 October 2009 16:00, Christopher Barry wrote:
> Hi everyone,
> 
> 
> Probably an over-asked question.
> Q: I start udhcpc from scriptA. udhcpc runs scriptB on a bound event.
> Will scriptB see the environment of scriptA,

Yes...

> i.e. can I access functions 
> defined in scriptA from scriptB,

...but shell functions (and not-exported variales)
are not considered to be an "environment".
They are not inherited by child processes.

> or would I need to re-source these into scriptB?

Yes.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to