Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jul 2005 12:45:01 +0200
From:      Marcin Jessa <lists@yazzy.org>
To:        Giorgos Keramidas <keramida@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: getty replacement
Message-ID:  <20050705124501.6c9de799.lists@yazzy.org>
In-Reply-To: <20050705102010.GA5663@beatrix.daedalusnetworks.priv>
References:  <20050705115234.44adc0ed.lists@yazzy.org> <20050705102010.GA5663@beatrix.daedalusnetworks.priv>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 5 Jul 2005 13:20:10 +0300
Giorgos Keramidas <keramida@freebsd.org> wrote:

> On 2005-07-05 11:52, Marcin Jessa <lists@yazzy.org> wrote:
> > Hi guys.
> >
> > Is there any way to replace "/usr/libexec/getty Pc"  with a custom
> > application and what would be requirements for such an app?
> > Running
> > ttyv0 "/some/app/shell_code.sh Pc" cons23 on secure
> > gives me:
> > init: getty repeating too quickly on port /dev/ttyv0, sleeping 30 secs
> > and my code is not executed.
> 
> Your shell script exits immediately, which leads init to believe
> something caused it to exit prematurely.  Shell scripts that don't
> exit, but continue working until they are explicitly terminated with
> a signal should work fine.

That unfortunatelly does not seem to work.
I tried a shell script with a read -p "Blah blah"  my_choice 
which should wait for an execution but this did not work either giving me exactly the same message...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050705124501.6c9de799.lists>