mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-28 02:20:05 +00:00
24 lines
387 B
Bash
Executable File
24 lines
387 B
Bash
Executable File
# /etc/profile
|
|
|
|
# Set the initial path
|
|
export PATH=/bin:/usr/bin
|
|
|
|
if [ "$(id -u)" -eq 0 ] ; then
|
|
export PATH=$PATH:/sbin:/usr/sbin
|
|
unset HISTFILE
|
|
fi
|
|
|
|
# Set umask
|
|
umask 022
|
|
|
|
# Setup some environment variables.
|
|
export HISTSIZE=1000
|
|
export HISTIGNORE="&:[bf]g:exit"
|
|
|
|
for script in /etc/profile.d/*.sh ; do
|
|
if [ -r $script ] ; then
|
|
. $script
|
|
fi
|
|
unset script
|
|
done
|