Merging casper 1.180.
[live-boot-grml.git] / scripts / live-bottom / 15autologin
index dd66a83..3f85d50 100755 (executable)
@@ -55,10 +55,10 @@ then
               -e "s/^TimedLogin=.*\$/TimedLogin=${USERNAME}/" \
               -e "s/^TimedLoginDelay=.*\$/TimedLoginDelay=10/" \
        ${GDMCONF}
-elif [ -e /root/etc/gdm3 ]
+elif [ -d /root/etc/gdm3 ]
 then
 
-cat > /root/etc/gdm3/daemon.conf << EOF
+cat > /root/etc/gdm3/custom.conf << EOF
 [daemon]
 AutomaticLoginEnable=true
 AutomaticLogin=$USERNAME