This script is run when the PPP connection is closed. The only thing it does is to echo a message to the console.
This script is stored in /etc/ppp/ip-down.
#! /bin/bash interface=$1 echo PPP on interface $interface down at $(date) >/dev/console
If you vary this script, remember that all output must be sent to /dev/console or to
a file. It is run by pppd after it has disconnected from the terminal, and any message sent
only to standard output will be lost.