summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/modules/slxbrowser/data/opt/openslx/lightdm/autologin.d/00-check-slxbrowser10
1 files changed, 10 insertions, 0 deletions
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
+