I created a file tty1.conf
Containing

stop on runlevel [S016]

respawn
exec /sbin/mingetty --autologin <your user name> /dev/tty1

I I modified start-ttys.conf like this;

start on stopped rc RUNLEVEL=[2345]

env ACTIVE_CONSOLES=/dev/tty[1-6]
env X_TTY=/dev/tty2
task
script
        . /etc/sysconfig/init
        for tty in $(echo $ACTIVE_CONSOLES) ; do
                [ "$RUNLEVEL" = "5" -a "$tty" = "$X_TTY" ] &&amp; continue
                initctl start tty TTY=$tty
        done
        initctl start tty1
end script

Reply via email to