Manual pages › File formats and configuration files (4)
profile.d(4)
the packages' additions to the login environment
Package: amxbase, added for amigaux.
NAME
profile.d - the packages' additions to the login environment
SYNOPSIS
/etc/profile.d/package.sh
DESCRIPTION
At the end of /etc/profile, a login shell reads every readable file in /etc/profile.d whose name ends in .sh, in name order. A package that needs something in every user's environment, such as a directory on PATH, ships one such file instead of editing /etc/profile. Each file is read by the user's login shell (sh or ksh), so it must be plain Bourne shell, and it should change nothing when it is read twice. A file with another name, such as name.sh.off, is not read.
The base package ships amix-base.sh, which puts /usr/amix/bin on PATH just before /usr/bin. That directory holds only commands that answer for the add-on packages' files and pass everything else to the stock command of the same name, such as man(1). /usr/local/bin stays first, and the add-on packages' own /opt/amix/bin stays last, so stock commands keep their place.
FILES
- /etc/profile.d/amix-base.sh
- the base package's addition.
SEE ALSO
| 31 October 2026 | amix-base |