Advertisement
Guest User

Untitled

a guest
Apr 30th, 2014
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. # /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
  2. # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
  3.  
  4. if [ "`id -u`" -eq 0 ]; then
  5. PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
  6. else
  7. PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games"
  8. fi
  9. export PATH
  10.  
  11. if [ "$PS1" ]; then
  12. if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then
  13. # The file bash.bashrc already sets the default PS1.
  14. # PS1='\h:\w\$ '
  15. if [ -f /etc/bash.bashrc ]; then
  16. . /etc/bash.bashrc
  17. fi
  18. else
  19. if [ "`id -u`" -eq 0 ]; then
  20. PS1='# '
  21. else
  22. PS1='$ '
  23. fi
  24. fi
  25. fi
  26.  
  27. # The default umask is now handled by pam_umask.
  28. # See pam_umask(8) and /etc/login.defs.
  29.  
  30. if [ -d /etc/profile.d ]; then
  31. for i in /etc/profile.d/*.sh; do
  32. if [ -r $i ]; then
  33. . $i
  34. fi
  35. done
  36. unset i
  37. fi
  38. [ -n "${SSH_CONNECTION}" ] || emulationstation
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement