Subject: Re: requirements for getty replacement
To: Marcin Jessa <lists@yazzy.org>
From: Johnny Billquist <bqt@Update.UU.SE>
List: current-users
Date: 07/05/2005 12:30:46
On Tue, 5 Jul 2005, Marcin Jessa wrote:

> On Tue, 5 Jul 2005 11:49:52 +0200 (CEST)
> Johnny Billquist <bqt@Update.UU.SE> wrote:
>
> > On Tue, 5 Jul 2005, Marcin Jessa wrote:
> >
> > > Hi guys.
> > >
> > > What are the requirements for an application to replace /usr/libexec/getty in /etc/ttys ?
> > > I would like to run a custom application there, something like /bin/sh /sysinst Pc ttyE1 vt220
> > > The problem is , running it gives me some kind of loop:
> >
> > Yes. When the program started by init (the program given in /etc/tty)
> > finishes, init starts it again. That's the nature of things. In your case,
> > sysinst seems to abort because of an error when playing with wsconscfg,
> > and thus it is restarted.
>
> So running a daemon would solve that?
> What I need is to be able to fire up console on ttyE1 while in single
> user mode without having a login: screen (that's what getty runs) and
> run a custom application.

Could you skip the "single user mode" terminology, because from what I've
read, that is not what you want.

You want the system to start up all services, and so on, but you don't
want a login prompt.
single user means no daemons (more or less) have started, noting have been
conofigured, and so on.

	Johnny

Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt@update.uu.se           ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol