/etc/nologin.ttyS<x>
Gert Doering (gert@greenie.muc.de)
Mon, 19 Apr 1999 11:46:16 +0200
Hi,
On Mon, Apr 19, 1999 at 12:37:41AM -0700, bae@distech.com wrote:
> I am using /etc/nologin.ttyS<x> to block mgetty from
> answering the modem when a call comes in sometimes.
> This works fine, but there is one slight problem. I
> also want mgetty not to do init-chat on the line
> as well when I have the file /etc/nologin.ttyS<x>
> present.
>
> Is there a way to tell mgetty not to do init-chat on
> the line, something like /etc/noinit-chat.ttyS<x> ?
Not directly. You can write a wrapper script that will be called from
init, will wait for /etc/no*whatever* to disappear, and then exec
mgetty...
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany gert@greenie.muc.de
fax: +49-89-35655025 gert.doering@physik.tu-muenchen.de