void-packages/srcpkgs/base-files/files/profile

19 lines
339 B
Bash

# /etc/profile
# System wide environment and startup programs.
#Set our umask
umask 022
# Set our default path
PATH="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/bin:/sbin"
export PATH
# Load profiles from /etc/profile.d
if [ -d /etc/profile.d/ ]; then
for f in /etc/profile.d/*.sh; do
[ -r "$f" ] && . "$f"
done
unset f
fi