3 # System-wide .profile file for sh(1).
5 # For the setting of languages and character sets please see
6 # login.conf(5) and in particular the charset and lang options.
7 # For full locales list check /usr/share/locale/*
8 # You should also read the setlocale(3) man page for information
9 # on how to achieve more precise control of locale settings.
11 # Check system messages
13 # Allow terminal messages
16 # Load each .sh file in /etc/profile.d/, then /usr/local/etc/profile,
17 # then each .sh file in /usr/local/etc/profile.d/.
18 _loaded=${_loaded:-/etc/profile}
20 for _dir in /etc /usr/local/etc ; do
21 for _file in "${_dir}"/profile "${_dir}"/profile.d/*.sh ; do
22 if [ -f "${_file}" ] ; then
27 _loaded="${_loaded:+${_loaded}:}${_file}"
34 unset _loaded _dir _file