diff options
Diffstat (limited to 'base-files')
-rw-r--r-- | base-files/base-files/etc/profile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/base-files/base-files/etc/profile b/base-files/base-files/etc/profile index 2e28fc777b..08b8355cc1 100644 --- a/base-files/base-files/etc/profile +++ b/base-files/base-files/etc/profile @@ -14,6 +14,13 @@ if [ "$PS1" ]; then PS1='\u@\h:\w\$ ' fi +if [ -d /etc/profile.d ]; then + for i in `ls /etc/profile.d/`; do + . /etc/profile.d/$i + done + unset i +fi + export PATH PS1 OPIEDIR QPEDIR QTDIR umask 022 |