Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Set the values for some environment variables:
- export MINICOM="-c on"
- export MANPATH=/usr/local/man:/usr/man
- export HOSTNAME="`cat /etc/HOSTNAME`"
- export LESSOPEN="|lesspipe.sh %s"
- export LESS="-M"
- # If the user doesn't have a .inputrc, use the one in /etc.
- if [ ! -r "$HOME/.inputrc" ]; then
- export INPUTRC=/etc/inputrc
- fi
- # Set the default system $PATH:
- PATH="/usr/local/bin:/usr/bin:/bin:/usr/games"
- # For root users, ensure that /usr/local/sbin, /usr/sbin, and /sbin are in
- # the $PATH. Some means of connection don't add these by default (sshd comes
- # to mind).
- if [ "`id -u`" = "0" ]; then
- echo $PATH | grep /usr/local/sbin 1> /dev/null 2> /dev/null
- if [ ! $? = 0 ]; then
- PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH
- fi
- fi
Add Comment
Please, Sign In to add comment