[BusyBox] Global environment variables

David Douthitt ssrat at mailbag.com
Mon Sep 10 14:55:43 UTC 2001


Richard June wrote:
> 
> David Douthitt wrote:
> 
> > Matt Kraai wrote:
> >
> >>On Fri, Sep 07, 2001 at 04:09:47PM +0200, Olsen Martin seebach wrote:
> >>
> >>>How do I set environment variables so that they are visible to all users?
> >>>Using env only sets it for the current session.
> >>>
> >>This is a general Unix question, not a BusyBox specific one.
> >>Please use a different forum in the future.

> > Matt's right; comp.unix.shell would be a good place to ask this... as
> > long as you read the FAQ first (this question is probably there).

> if he's using one of the busybox shells, this would be a perfectly valid
> forum to ask.

A general UNIX shell question is not a busybox question..

> > export FOO=myvalue
> >
> > ...works in ksh only.
> 
> export FOO=myvalue works fine in at least later versions of bash, I've
> done that since RH 6.0 at least.

And bash purports to run most or all ksh scripts.





More information about the busybox mailing list