Path: utzoo!mnetor!uunet!husc6!mailrus!ames!pasteur!ucbvax!decwrl!sgi!sgistl!larry From: larry@sgistl.SGI.COM (Larry Autry) Newsgroups: comp.unix.questions Subject: port left open after uucp. Message-ID: <5602@sgistl.SGI.COM> Date: 8 May 88 16:51:55 GMT Organization: Silicon Graphics, Inc., Mt.View, CA., St.Louis Ofc. Lines: 15 Keywords: serial uucp The serial port is being left open on my system after uucp calls out. It does not hang up. I know this because if I do a 'cu' I will get the login prompt on the system that my system calls. I have an autologout script that get called by cron to logout dialin users. 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. -- Larry Autry larry@sgistl.sgi.com or {ucbvax,sun,ames,pyramid,decwrl}!sgi!sgistl!larry