Re: getty replacement

From: Giorgos Keramidas <keramida_at_freebsd.org>
Date: Tue, 5 Jul 2005 13:20:10 +0300
On 2005-07-05 11:52, Marcin Jessa <lists_at_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.
Received on Tue Jul 05 2005 - 08:20:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:38 UTC