diff options
Diffstat (limited to 'core/modules/lightdm-greeter-bwlp/data/opt/openslx/lightdm/guest-session')
-rwxr-xr-x | core/modules/lightdm-greeter-bwlp/data/opt/openslx/lightdm/guest-session | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/core/modules/lightdm-greeter-bwlp/data/opt/openslx/lightdm/guest-session b/core/modules/lightdm-greeter-bwlp/data/opt/openslx/lightdm/guest-session new file mode 100755 index 00000000..eb3205aa --- /dev/null +++ b/core/modules/lightdm-greeter-bwlp/data/opt/openslx/lightdm/guest-session @@ -0,0 +1,18 @@ +#!/bin/ash + +. /opt/openslx/config + +GUESTDIR="/opt/openslx/lightdm/autologin.d" +if [ -d "$GUESTDIR" ]; then + for file in $GUESTDIR/*; do + if [ -s "$file" ]; then + . "$file" || slxlog "xsession-autologin" "Could not source $file" "$file" + fi + done +fi + + +# Normal session mode +exec "$@" +exit 0 + |