diff options
Diffstat (limited to 'etc/ppp/ppp.linkdown.sample')
-rw-r--r-- | etc/ppp/ppp.linkdown.sample | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/etc/ppp/ppp.linkdown.sample b/etc/ppp/ppp.linkdown.sample new file mode 100644 index 0000000..7c2ca36 --- /dev/null +++ b/etc/ppp/ppp.linkdown.sample @@ -0,0 +1,26 @@ +######################################################################### +# +# 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. +# +# +# $Id$ +# +######################################################################### + +# 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: + !bg /usr/X11R6/bin/auplay /etc/ppp/linkdown.au |