diff options
author | Jonathan Bauer | 2019-06-18 17:24:04 +0200 |
---|---|---|
committer | Jonathan Bauer | 2019-06-18 17:24:04 +0200 |
commit | 8296c46c06446b0bd4cfc82be1ae51bd07201b31 (patch) | |
tree | efdca85eb4b3e44d17c1eb7991e9486860676e28 /core/modules/kiosk-common | |
parent | [kiosk-chromium] reset policies on Xreset (diff) | |
download | mltk-8296c46c06446b0bd4cfc82be1ae51bd07201b31.tar.gz mltk-8296c46c06446b0bd4cfc82be1ae51bd07201b31.tar.xz mltk-8296c46c06446b0bd4cfc82be1ae51bd07201b31.zip |
[kiosk-*] support for lightdm-greeter kiosk
and kiosk-chromium URL filter
Diffstat (limited to 'core/modules/kiosk-common')
-rw-r--r-- | core/modules/kiosk-common/data/opt/openslx/scripts/systemd-setup_kiosk.d/10-kiosk | 9 |
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 |