Adding live-initramfs 1.87.3-1.
[live-boot-grml.git] / scripts / live-bottom / 15autologin
index 4b64dc7..6032437 100755 (executable)
@@ -27,6 +27,11 @@ else
 fi
 
 if chroot /root [ -f ${GDMCONF} ]; then
+    if [ "${BUILD_SYSTEM}" == "Debian" ]; then
+        # true hack ! -- nohar
+        chroot /root cp /usr/share/gdm/defaults.conf /etc/gdm/gdm.conf
+    fi
+
     # Configure GDM autologin
     chroot /root sed -i \
         -e "s/^AutomaticLoginEnable=.*\$/AutomaticLoginEnable=true/" \