profile 450 B

12345678910111213141516171819
  1. # System-wide .profile for sh(1)
  2. if [ "`id -u`" -eq 0 ]; then # Super User, ie `root`
  3. # DO NOTHING, ie. don't user `path_helper -s`
  4. # echo ""
  5. if [ -x /usr/libexec/path/helper ]; then
  6. eval /usr/libexec/path_helper -s
  7. fi
  8. elif [ "`id -un`" = capin ]; then
  9. :
  10. else
  11. if [ -x /usr/libexec/path_helper ]; then
  12. eval /usr/libexec/path_helper -s
  13. if [ "${BASH-no}" != "no" ]; then
  14. [ -r /etc/bashrc ] && . /etc/bashrc
  15. fi
  16. fi
  17. fi