1
0
mirror of https://github.com/MichielDerhaeg/build-linux.git synced 2025-09-25 14:59:07 +02:00
Files
build-linux/filesystem/profile
Michiel Derhaeg 4b0e1a5007 some work
2016-07-04 23:25:09 +02:00

28 lines
573 B
Bash

# /etc/profile
#Set our umask
umask 022
# Set our default path
PATH="/usr/local/sbin:/usr/local/bin:/usr/bin"
export PATH
# Load profiles from /etc/profile.d
if test -d /etc/profile.d/; then
for profile in /etc/profile.d/*.sh; do
test -r "$profile" && . "$profile"
done
unset profile
fi
# Source global bash config
if test "$PS1" && test "$BASH" && test -z ${POSIXLY_CORRECT+x} && test -r /etc/bash.bashrc; then
. /etc/bash.bashrc
fi
# Termcap is outdated, old, and crusty, kill it.
unset TERMCAP
# Man is much better than us at figuring this out
unset MANPATH