If you are using sh, or a derived shell such as bash, then you can 
use /etc/profile to achieve your desired result.

On Tuesday 08 April 2008 10:18, Andrew Cid wrote:
> Hi all,
>
> What's the best way of setting environment variables on FreeBSD
> so that all users and daemons running from rc can see them?
>
> I'd like to set PKGROOT to a custom package server, so that all users
> and a couple of daemons that start from rc will use the new packages.
>
> Cheers,
>
>
> Andrew
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to