port left open after uucp.

Kenneth Kutz kutz at bgsuvax.UUCP
Wed May 11 02:39:06 AEST 1988


In article <5602 at sgistl.SGI.COM>, larry at 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 at bgsu.edu
				UUCP  ...!osu-cis!bgsuvax!kutz
 Disclaimer: Opinions expressed are my own and not of my employer's
--------------------------------------------------------------------



More information about the Comp.unix.questions mailing list