Received: (at submit) by bugs.debian.org; 5 Aug 1998 18:01:16 +0000 Received: (qmail 29611 invoked from network); 5 Aug 1998 18:01:16 -0000 Received: from unknown (HELO lenny.mgh.harvard.edu) (132.183.25.136) by debian.novare.net with SMTP; 5 Aug 1998 18:01:16 -0000 Received: by mgh.harvard.edu via sendmail from stdin id (Debian Smail3.2.0.101) for submit@bugs.debian.org; Wed, 5 Aug 1998 14:05:39 -0400 (EDT) Message-ID: <19980805140538.A19703@mgh.harvard.edu> Date: Wed, 5 Aug 1998 14:05:38 -0400 From: "Stephen J. Carpenter" To: submit@bugs.debian.org Subject: need ppp script to run BEFORE ip-down (my solution inc) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i Package: ppp Version: 2.3.5-2 Severity: wishlist Recently I found a need for a script to run when my PPP link shuts down but BEFORE teh link is shut down (ie to send some last bits of info across the net to let some server or whatever know I am "going offline") Here is my solution... add a directory to /etc/ppp called /etc/pre-ip-down (pre-ip-up could be added too but I fail to think of any real uses for it) Then in poff add: run-parts /etc/ppp/pre-ip-down or alternatively: /etc/ppp/pre-ip-down (which would itself just use run-parts) I have already edited poff to suport this on my home system...it seems to work well..this change will save me from being broken next time I upgrade (and is an easy enough fix) -Steve -- /* -- Stephen Carpenter --- ------------ */ E-mail "Bumper Stickers": "A FREE America or a Drug-Free America: You can't have both!" "honk if you Love Linux"