On Wed, May 02, 2001 at 04:24:02PM +1000, John Ferlito wrote:

> The question is will it be run if the ppp connection drops out but the
> demand option is on so ppp is going to try and redial. Or is it only run
> just before pppd exits?

>From pppd(8):

   /etc/ppp/ip-down
          A program or script which is executed when the link
          is no longer available for sending and receiving IP
          packets.  This script can be used for  undoing  the

"when the link is no longer available for sending and receiving" seems
clear enough - the script is executed whenever the link goes down,
regardless of whether pppd exits or not.

I've had a quick look through the source for ppp-2.3.11 and it looks
like it does indeed run the script each time the link goes down.


Cheers,

John
-- 
whois [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to