SCIENTIFIC-LINUX-USERS Archives

February 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
=?windows-1252?Q?Bill_Askew?= <[log in to unmask]>
Reply To:
=?windows-1252?Q?Bill_Askew?= <[log in to unmask]>
Date:
Wed, 5 Feb 2014 07:39:17 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
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

ATOM RSS1 RSS2