diff options
Diffstat (limited to 'core/modules/slxbrowser/data/opt/openslx/scripts/systemd-setup_kiosk')
-rwxr-xr-x | core/modules/slxbrowser/data/opt/openslx/scripts/systemd-setup_kiosk | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/core/modules/slxbrowser/data/opt/openslx/scripts/systemd-setup_kiosk b/core/modules/slxbrowser/data/opt/openslx/scripts/systemd-setup_kiosk deleted file mode 100755 index b8761aab..00000000 --- a/core/modules/slxbrowser/data/opt/openslx/scripts/systemd-setup_kiosk +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/ash - -# Autologin -sed -i '/^AutoLoginDelay=/d;/^AutoLoginUser=/d;s/^AutoLoginEnable=.*$/AutoLoginEnable=true\nAutoLoginUser=demo\nAutoLoginDelay=0/' "/etc/kde4/kdm/kdmrc" - -# Disable logout delay for demo user on shutdown/reboot/... -mkdir -p "/run/openslx" -touch "/run/openslx/demo-no-logout-delay" - -# desktop session -cat > /opt/openslx/xsessions/default.desktop <<EOF -[Desktop Entry] -Name=SLXbrowser -Comment=Minimalistic browser -Exec=/opt/openslx/scripts/kiosk-launch -Type=Application -X-LightDM-DesktopName=SLXbrowser -DesktopNames=SLXbrowser -EOF - |