#!/bin/sh
# ip-down interface-name tty-device speed local-IP-address remote-IP-address
#
# This script is called by the PPP daemon once the IP link is down.
# Its primary function is to remove the file /etc/ppp/linkinfo.
# My modem does not hang up automatically (though it should), so I
# send a hangup command to it.
# Change the /dev/cua3 if your modem is on another port.
echo "ATH" > /dev/cua3
rm -f /etc/ppp/linkinfo
