Deleted Added
full compact
ppp.linkdown.sample (43902) ppp.linkdown.sample (50476)
1#########################################################################
2#
3# Example of ppp.linkdown file
4#
5# This file is checked when ppp closes a connection.
6# ppp searches the labels in this file as follows:
7#
8# 1) The label that matches the IP number assigned to our side.
9#
10# 2) The label specified on the command line to ppp.
11#
12# 3) If no label has been found, use MYADDR if it exists.
13#
14#
1#########################################################################
2#
3# Example of ppp.linkdown file
4#
5# This file is checked when ppp closes a connection.
6# ppp searches the labels in this file as follows:
7#
8# 1) The label that matches the IP number assigned to our side.
9#
10# 2) The label specified on the command line to ppp.
11#
12# 3) If no label has been found, use MYADDR if it exists.
13#
14#
15# $Id: ppp.linkdown.sample,v 1.2 1998/11/05 23:14:19 brian Exp $
15# $FreeBSD: head/share/examples/ppp/ppp.linkdown.sample 50476 1999-08-28 00:22:10Z peter $
16#
17#########################################################################
18
19# We don't really need to do much here. If we have notified a DNS
20# of our temporary IP number, we may want to ``un-notify'' them.
21#
22# If you're into sound effects when the link goes down, you can run
23# ``auplay'' (assuming NAS is installed and configured).
24#
25MYADDR:
26 !bg /usr/X11R6/bin/auplay /etc/ppp/linkdown.au
27
28# If you're running ``ppp -auto -alias dynamic-alias-auto'', and are
29# assigned a dynamic IP number by the peer, this may be worth while
30# to keep the interface aliases to a minimum (see ``enable iface-alias''
31# in the man page):
32#
33dynamic-alias-auto:
34 iface clear
16#
17#########################################################################
18
19# We don't really need to do much here. If we have notified a DNS
20# of our temporary IP number, we may want to ``un-notify'' them.
21#
22# If you're into sound effects when the link goes down, you can run
23# ``auplay'' (assuming NAS is installed and configured).
24#
25MYADDR:
26 !bg /usr/X11R6/bin/auplay /etc/ppp/linkdown.au
27
28# If you're running ``ppp -auto -alias dynamic-alias-auto'', and are
29# assigned a dynamic IP number by the peer, this may be worth while
30# to keep the interface aliases to a minimum (see ``enable iface-alias''
31# in the man page):
32#
33dynamic-alias-auto:
34 iface clear