1999-02-11 16:33:14 +00:00
|
|
|
#########################################################################
|
|
|
|
#
|
|
|
|
# Example of ppp.linkdown file
|
|
|
|
#
|
|
|
|
# This file is checked when ppp closes a connection.
|
|
|
|
# ppp searches the labels in this file as follows:
|
|
|
|
#
|
|
|
|
# 1) The label that matches the IP number assigned to our side.
|
|
|
|
#
|
|
|
|
# 2) The label specified on the command line to ppp.
|
|
|
|
#
|
|
|
|
# 3) If no label has been found, use MYADDR if it exists.
|
|
|
|
#
|
|
|
|
#
|
1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1999-02-11 16:33:14 +00:00
|
|
|
#
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# We don't really need to do much here. If we have notified a DNS
|
|
|
|
# of our temporary IP number, we may want to ``un-notify'' them.
|
|
|
|
#
|
|
|
|
# If you're into sound effects when the link goes down, you can run
|
|
|
|
# ``auplay'' (assuming NAS is installed and configured).
|
|
|
|
#
|
|
|
|
MYADDR:
|
2012-01-09 00:48:19 +00:00
|
|
|
!bg /usr/local/bin/auplay /etc/ppp/linkdown.au
|
1999-02-11 16:33:14 +00:00
|
|
|
|
1999-09-07 07:56:54 +00:00
|
|
|
# If you're running ``ppp -auto -nat dynamic-nat-auto'', and are
|
1999-02-11 16:33:14 +00:00
|
|
|
# assigned a dynamic IP number by the peer, this may be worth while
|
|
|
|
# to keep the interface aliases to a minimum (see ``enable iface-alias''
|
|
|
|
# in the man page):
|
|
|
|
#
|
1999-09-07 07:56:54 +00:00
|
|
|
dynamic-nat-auto:
|
1999-02-11 16:33:14 +00:00
|
|
|
iface clear
|