summaryrefslogtreecommitdiffstats
path: root/core/modules/kiosk-common
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/kiosk-common')
-rw-r--r--core/modules/kiosk-common/data/opt/openslx/scripts/systemd-setup_kiosk.d/10-kiosk9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/modules/kiosk-common/data/opt/openslx/scripts/systemd-setup_kiosk.d/10-kiosk b/core/modules/kiosk-common/data/opt/openslx/scripts/systemd-setup_kiosk.d/10-kiosk
new file mode 100644
index 00000000..56a2a1ab
--- /dev/null
+++ b/core/modules/kiosk-common/data/opt/openslx/scripts/systemd-setup_kiosk.d/10-kiosk
@@ -0,0 +1,9 @@
+#!/bin/ash
+
+main() {
+ local target="/etc/lightdm/qt-lightdm-greeter.conf.d"
+ mkdir -p "$target"
+ echo -e "[General]\nguest-session-enabled=true" > "${target}/enable-guest.conf"
+}
+
+main