Merging casper 1.179.
[live-boot-grml.git] / scripts / live-bottom / 15autologin
index 38c3a8f..dd66a83 100755 (executable)
@@ -55,6 +55,18 @@ then
               -e "s/^TimedLogin=.*\$/TimedLogin=${USERNAME}/" \
               -e "s/^TimedLoginDelay=.*\$/TimedLoginDelay=10/" \
        ${GDMCONF}
+elif [ -e /root/etc/gdm3 ]
+then
+
+cat > /root/etc/gdm3/daemon.conf << EOF
+[daemon]
+AutomaticLoginEnable=true
+AutomaticLogin=$USERNAME
+TimedLoginEnable=true
+TimedLogin=$USERNAME
+TimedLoginDelay=10
+EOF
+
 fi
 
 if [ -d /root/etc/default/kdm.d/ ]