From 30554cd5846392a720e7e0d52114437796413178 Mon Sep 17 00:00:00 2001
From: Holger Paradies <retabell@gmx.de>
Date: Mon, 9 Oct 2017 21:49:09 +0200
Subject: hotfix lightdm autologin with plasma

remove misconfigured file
---
 config/chroot_local-hooks/03-lightdm-plasma-hotfix | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100755 config/chroot_local-hooks/03-lightdm-plasma-hotfix

diff --git a/config/chroot_local-hooks/03-lightdm-plasma-hotfix b/config/chroot_local-hooks/03-lightdm-plasma-hotfix
new file mode 100755
index 0000000..f7e083f
--- /dev/null
+++ b/config/chroot_local-hooks/03-lightdm-plasma-hotfix
@@ -0,0 +1,13 @@
+#!/bin/sh
+if [ "$(id -u)" != 0 ]; then
+ echo Error: You must be root to run this script!
+ exit 1
+fi
+
+# delete "buggy file" to enable autologin in live-mode
+
+if [ -e /usr/share/lightdm/lightdm.conf.d/40-kde-plasma-kf5.conf ]; then
+
+    rm -f /usr/share/lightdm/lightdm.conf.d/40-kde-plasma-kf5.conf
+
+fi
-- 
cgit v1.0