summaryrefslogtreecommitdiff
path: root/etc/profile
blob: 93b503d0864a9294e40a00402bf746f4dfb03612 (plain)
1
2
3
4
5
6
7
8
9
10
# If the /etc/profile.d directory is not sourced automatically
# append this code to /etc/profile

# 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