Guest User

Untitled

a guest
Aug 15th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. # Set the values for some environment variables:
  2. export MINICOM="-c on"
  3. export MANPATH=/usr/local/man:/usr/man
  4. export HOSTNAME="`cat /etc/HOSTNAME`"
  5. export LESSOPEN="|lesspipe.sh %s"
  6. export LESS="-M"
  7.  
  8. # If the user doesn't have a .inputrc, use the one in /etc.
  9. if [ ! -r "$HOME/.inputrc" ]; then
  10. export INPUTRC=/etc/inputrc
  11. fi
  12.  
  13. # Set the default system $PATH:
  14. PATH="/usr/local/bin:/usr/bin:/bin:/usr/games"
  15.  
  16. # For root users, ensure that /usr/local/sbin, /usr/sbin, and /sbin are in
  17. # the $PATH. Some means of connection don't add these by default (sshd comes
  18. # to mind).
  19. if [ "`id -u`" = "0" ]; then
  20. echo $PATH | grep /usr/local/sbin 1> /dev/null 2> /dev/null
  21. if [ ! $? = 0 ]; then
  22. PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH
  23. fi
  24. fi
Add Comment
Please, Sign In to add comment