profile 512 B

123456789101112131415161718192021222324252627282930313233
  1. # /etc/profile: system-wide .profile file for the Bourne shells
  2. #
  3. #
  4. set_path_before()
  5. {
  6. [ -d $1 ] && PATH="$1:$PATH"
  7. }
  8. PATH="/usr/bin:/usr/sbin:/bin:/sbin"
  9. set_path_before /usr/local/sbin
  10. set_path_before /usr/local/bin
  11. LD_LIBRARY_PATH="/usr/local/lib:/usr/lib"
  12. export PATH
  13. export LD_LIBRARY_PATH
  14. # ANSI COLORS
  15. CRE=" "
  16. NORMAL=""
  17. RED=""
  18. GREEN=""
  19. YELLOW=""
  20. BLUE=""
  21. MAGENTA=""
  22. CYAN=""
  23. WHITE=""
  24. umask 077
  25. echo "${GREEN}Welcome to HiLinux.${NORMAL}"