I have a shell script at /etc/profile.d/pg_local.sh. It contains the following contents:
export PATH="$PATH:/usr/local/pgsql/bin"
Its supposed to load that path in the user accounts' $PATH when the system starts up. However, it is not doing that. When I start up system, and try to use one of the binaries at that path, it doesn't work. I am forced to source it:
source /etc/profile.d/pg_local.sh
What might I be doing wrong?