[openbeosnetteam] Re: PPP homepage
- From: "Waldemar Kornewald" <Waldemar.Kornewald@xxxxxx>
- To: <openbeosnetteam@xxxxxxxxxxxxx>
- Date: Mon, 26 Apr 2004 15:56:19 +0200
> > 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
- Follow-Ups:
- [openbeosnetteam] Re: PPP homepage
- From: Axel Dörfler
- References:
- [openbeosnetteam] Re: PPP homepage
- From: Axel Dörfler
Other related posts:
- » [openbeosnetteam] Re: PPP homepage
- » [openbeosnetteam] Re: PPP homepage
- » [openbeosnetteam] Re: PPP homepage
- » [openbeosnetteam] Re: PPP homepage
- » [openbeosnetteam] Re: PPP homepage
- » [openbeosnetteam] Re: PPP homepage
- » [openbeosnetteam] Re: PPP homepage
- » [openbeosnetteam] Re: PPP homepage
- » [openbeosnetteam] Re: PPP homepage
- » [openbeosnetteam] Re: PPP homepage
- » [openbeosnetteam] Re: PPP homepage
- [openbeosnetteam] Re: PPP homepage
- From: Axel Dörfler
- [openbeosnetteam] Re: PPP homepage
- From: Axel Dörfler