Environment files
Some packages need to globally set an environment variable for all users. The
canonical way of doing this is via /etc/env.d. All files in this directory
are sourced when generating user environment settings.
This directory should only be used for setting environment variables.
To install a file into this directory, use doenvd or newenvd (see
Install functions reference). The format of the file
should be a series of lines in the form VARIABLE="the value".
There is further discussion in the Environment Variables section.