# HG changeset patch # User Pascal Bellard # Date 1222636176 -7200 # Node ID 06dffda5c2cebd1f522618bdb8b5ffc7b0a7a582 # Parent 36274d47502f9922d0a580a282fb1815d137013a bootopts.sh: autologin support (need slim 1.3.1) diff -r 36274d47502f -r 06dffda5c2ce etc/init.d/bootopts.sh --- a/etc/init.d/bootopts.sh Wed Sep 24 22:18:30 2008 +0200 +++ b/etc/init.d/bootopts.sh Sun Sep 28 23:09:36 2008 +0200 @@ -112,6 +112,11 @@ fi fi +# Autologin option to skip first graphic login prompt. +if grep -q "autologin" /proc/cmdline; then + echo "auto_login yes" >> /etc/slim.conf +fi + # Check for a specified home directory on cmdline (home=*). # if grep -q "home=usb" /proc/cmdline; then