diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2024-02-18 17:36:51 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2024-02-18 17:36:51 +0400 |
commit | d1e8f727620479a98ad568e8e3dc98e84bef45b2 (patch) | |
tree | 56a8dedb74e9e8a6f8692027e3eadd201eb37c5f /src/etc/profile | |
parent | f40c73f3b30547f7267c84bd22677dec65029dc4 (diff) |
version 0.2
Diffstat (limited to 'src/etc/profile')
-rw-r--r-- | src/etc/profile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/etc/profile b/src/etc/profile new file mode 100644 index 0000000..93b503d --- /dev/null +++ b/src/etc/profile @@ -0,0 +1,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 |