summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/03-lightdm-plasma-hotfix
blob: f7e083f6d9a9962ff66496a676ef77a80abf76b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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