fix lightdm session /etc/profile load

This commit is contained in:
sulincix committed 2025-04-20 16:46:13 +00:00
1 parent d3334f128c
commit 249cdcd38e
1 file changed
+3
+3
View File
@@ -1,4 +1,7 @@
#!/bin/sh #!/bin/sh
source /etc/profile
mkdir -p ~/.cache/
exec &> ~/.cache/lightdm-user.log
if [ ${XDG_SESSION_TYPE} == "wayland" ] ; then if [ ${XDG_SESSION_TYPE} == "wayland" ] ; then
# Wait until the Xorg process for the user finishes # Wait until the Xorg process for the user finishes
while pgrep -u 0 Xorg > /dev/null; do while pgrep -u 0 Xorg > /dev/null; do