Path: utzoo!mnetor!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!bgsuvax!kutz
From: kutz@bgsuvax.UUCP (Kenneth Kutz)
Newsgroups: comp.unix.questions
Subject: Re: port left open after uucp.
Message-ID: <2136@bgsuvax.UUCP>
Date: 10 May 88 16:39:06 GMT
References: <5602@sgistl.SGI.COM>
Organization: Bowling Green State University B.G., Oh.
Lines: 22
Keywords: serial uucp

In article <5602@sgistl.SGI.COM>, larry@sgistl.SGI.COM (Larry Autry) writes:
> The serial port is being left open on my system after uucp calls out.  It
> does not hang up.
>                                                  I need a similar script
> for closing an open port when there is no process attached to it.  It is
> easy to check for the absence of an 'LCK' file.  If there is no file, I'd
> like to take appropriate action to hang up the line, logout, or whatever.
> My question is, what is the appropriate action?  I can figure out the
> rest.

Write the appropriate sequence to cause the modem to hang up the phone
to the appropriate port.  For example if '+++' or 'ATH' hangs up the
phone, write these character strings to /dev/tty[nn].



-- 
--------------------------------------------------------------------
      Kenneth J. Kutz         	CSNET kutz@bgsu.edu
				UUCP  ...!osu-cis!bgsuvax!kutz
 Disclaimer: Opinions expressed are my own and not of my employer's
--------------------------------------------------------------------