From 4f68da9ac86e09b8f11bb71d6a38ecf4cc98a439 Mon Sep 17 00:00:00 2001 From: mobinmob Date: Thu, 28 Jun 2018 22:22:44 +0300 Subject: [PATCH] display-manager-autologin.sh: remove kdm autologin configuration --- dracut/vmklive/display-manager-autologin.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dracut/vmklive/display-manager-autologin.sh b/dracut/vmklive/display-manager-autologin.sh index 4cf7c6a..0033cf0 100644 --- a/dracut/vmklive/display-manager-autologin.sh +++ b/dracut/vmklive/display-manager-autologin.sh @@ -21,12 +21,6 @@ if [ -d ${NEWROOT}/etc/gdm ]; then fi fi -# Configure KDM autologin -if [ -e ${NEWROOT}/etc/kdm/kdmrc ]; then - sed -i -e "s|^\#\(AutoLoginEnable=\).*|\1|" ${NEWROOT}/etc/kdm/kdmrc - sed -i -e "s|^\#\(AutoLoginUser=\).*|\1$USERNAME|" ${NEWROOT}/etc/kdm/kdmrc -fi - # Configure lightdm autologin. if [ -r ${NEWROOT}/etc/lightdm.conf ]; then sed -i -e "s|^\#\(default-user=\).*|\1$USERNAME|" \