Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!think!ames!pacbell!att!mcdchg!ddsw1!tronsbox!tron1 From: tron1@tronsbox.UUCP (HIM) Newsgroups: comp.unix.i386 Subject: Re: getty replacement Message-ID: <25a02974:549.4comp.unix.i386;1@tronsbox.UUCP> Date: 2 Jan 90 07:00:46 GMT References: <259cff98:549comp.unix.i386@tronsbox.UUCP> <1990Jan1.150934.7517@tw Lines: 34 HMM... >As I recall, you have two (or more?) devices for talking to a >given modem line. One waits for CD; the other doesn't. Assuming >that that is what you have, try this: create a getty script, >something like: > >{ # send commands to the modem > echo "whatever" > echo "more" > .... >} >/dev/tty-ignore-CD >exec /etc/getty /dev/tty-wait-for-CD # run the real getty > >and run that from your inittab instead of the regular getty. > >There is one way this might fail. If, after the echos, DTR is >dropped, that might make the modem reinitialize itself. If that >is the case, you can move the exec into the braces. That will >work with my getty; it may work with the standard one. > I like it ! , I will play with it tues. and summarize results. **************************************************************************** "Perfume and leather baby , you and me together baby, what good is living in paradise, if you don't let yourself once or twice." -Tiffany Kenneth J. Jamieson ---- THE BOSS at Xanadu Enterprises Inc. UUCP: tron1@tronsbox.UUCP BEST PATH ---> uunet!tronsbox!tron1 Sysop, Romantic Encounters BBS - (201)759-8450 / (201)759-8568 ****************************************************************************