for i in /etc/profile.d/*.sh ; do if [ -r "$i" ]; then . $i fi done .