Subject: Re: requirements for getty replacement
To: Johnny Billquist <bqt@Update.UU.SE>
From: Marcin Jessa <lists@yazzy.org>
List: current-users
Date: 07/05/2005 12:02:45
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.
> Make sure you run a "correct" program instead.
>
> 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