From owner-cvs-sbin Sun Mar 12 07:04:29 1995 Return-Path: cvs-sbin-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA17682 for cvs-sbin-outgoing; Sun, 12 Mar 1995 07:04:29 -0800 Received: (from joerg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA17660; Sun, 12 Mar 1995 16:04:22 +0100 Date: Sun, 12 Mar 1995 16:04:22 +0100 From: Joerg Wunsch Message-Id: <199503121504.QAA17660@freefall.cdrom.com> To: CVS-commiters, cvs-sbin Subject: cvs commit: src/sbin/slattach slattach.8 slattach.c Sender: cvs-sbin-owner@freebsd.org Precedence: bulk joerg 95/03/12 16:04:20 Modified: sbin/slattach slattach.8 slattach.c Log: Make slattach create a PID file under /var/run when the connection is established. This way, automatic scripts are possible that might control the SLIP connection. It's unacceptable for a daemon that's being controlled by a variety of signals to not leave its PID somewhere. The file name contains the terminal path name component of the associated tty device, so it should be unique even with multiple parallel slattach's running. The file will be unlinked at regular exit. Also found a minor bug in the option handling by compiling with -Wall.