Source /etc/profile.d/*.sh if it exists

This commit is contained in:
Peter J. Holzer 2017-12-14 15:28:05 +01:00
parent dfabce5c14
commit edbd930f44
1 changed files with 7 additions and 0 deletions

View File

@ -331,3 +331,10 @@ case "$FQDN" in
;; ;;
esac esac
if [ -d /etc/profile.d ]
then
for i in /etc/profile.d/*.sh
do
. $i
done
fi