[openbeosnetteam] Re: PPP homepage

> > Axel is too nice to us. :)
> > Maybe he can give us environment variables, too?
> 
> load_image() already accepts a pointer to an environment variable?!

Yes, but where do we get the value for the environtment variable from? :)
Normally, the shell should load /etc/profile and the boot-scripts. If we run an 
app from the kernel it does not have any environment variables set. If I 
understood it correctly, on boot-up the kernel runs the shell which loads 
/etc/profile and the main boot-script. Only this shell can give its environment 
variables to the other processes that it runs (when interpreting the 
boot-script).
Consequently, we must run a shell that loads /etc/profile (if that is enough) 
and _then_ executes our app. Otherwise it will not have the default environment 
variables set.

Is that understandable and correct?

Bye,
Waldemar

Other related posts: