From 9bcbbc95e0ce577d86e4c305f9539fb65b71d07f Mon Sep 17 00:00:00 2001 From: John Zimmermann Date: Sun, 17 Feb 2019 11:25:15 +0100 Subject: [PATCH] display-manager-autologin.sh: fix sddm detection sddm doesn't ship with a /etc/sddm.conf as default so the old check returned false. --- dracut/vmklive/display-manager-autologin.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dracut/vmklive/display-manager-autologin.sh b/dracut/vmklive/display-manager-autologin.sh index fd10270..e99f31a 100644 --- a/dracut/vmklive/display-manager-autologin.sh +++ b/dracut/vmklive/display-manager-autologin.sh @@ -22,8 +22,7 @@ if [ -d ${NEWROOT}/etc/gdm ]; then fi # Configure sddm autologin for the kde iso. -if [ -r ${NEWROOT}/etc/sddm.conf ]; then - mv ${NEWROOT}/etc/sddm.conf ${NEWROOT}/etc/sddm.conf.old +if [ -x ${NEWROOT}/usr/bin/sddm ]; then cat > ${NEWROOT}/etc/sddm.conf <<_EOF [Autologin] User=anon