From 8182320d77e6172b0f095ba3ed475ec734281b88 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 14 Nov 2017 12:37:39 +0100 Subject: [slxbrowser] Hook into lightdm-greeter-bwlp mechanism for session start --- .../data/opt/openslx/lightdm/autologin.d/00-check-slxbrowser | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 core/modules/slxbrowser/data/opt/openslx/lightdm/autologin.d/00-check-slxbrowser diff --git a/core/modules/slxbrowser/data/opt/openslx/lightdm/autologin.d/00-check-slxbrowser b/core/modules/slxbrowser/data/opt/openslx/lightdm/autologin.d/00-check-slxbrowser new file mode 100644 index 00000000..4fe45c02 --- /dev/null +++ b/core/modules/slxbrowser/data/opt/openslx/lightdm/autologin.d/00-check-slxbrowser @@ -0,0 +1,10 @@ +#!/bin/ash +# This file is SOURCED + +# Kiosk mode? +if [ -n "$SLX_BROWSER_URL" ]; then + exec /opt/openslx/scripts/kiosk-launch +fi + +true + -- cgit v1.2.3-55-g7522