+1
and applying it.
On Mon, May 27, 2019 at 07:58:22PM -0400, Lucius Hu wrote:
From: Lucius Hu <lebensterben(a)users.noreply.github.com>
Please disregard my previous submit.
The correct order of profiles to be sourced shall be the default profile
'/usr/share/defaults/etc/profile', the system admin overrides
'/etc/profile', and the per-user profile '$HOME/.profile'.
---
lightdm-session | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lightdm-session b/lightdm-session
index 4a2a25e..6934da9 100644
--- a/lightdm-session
+++ b/lightdm-session
@@ -5,7 +5,7 @@
echo "Running X session wrapper"
# Load profile
-for file in "/etc/profile" "$HOME/.profile"
"/etc/xprofile" "$HOME/.xprofile"; do
+for file in "/usr/share/defaults/etc/profile" "/etc/profile"
"$HOME/.profile" "/etc/xprofile" "$HOME/.xprofile"; do
if [ -f "$file" ]; then
echo "Loading profile from $file";
. "$file"
--
2.21.0
_______________________________________________
Dev mailing list
Dev(a)lists.clearlinux.org
https://lists.clearlinux.org/mailman/listinfo/dev
--
Regards,
Miguel Bernal Marin IAGS/Systems Software Products
https://clearlinux.org Intel Corporation