#!/bin/sh
# -*- Fundamental -*-
#
# args: interface-name tty-device speed local-IP remote-IP

PATH=/usr/ucb:/bin:/usr/bin:/etc:/usr/etc:/usr/local/bin; export PATH

#
# Remove the route to localhost that we created in ip-up
#
#/sbin/route delete $4 127.0.0.1
/sbin/route delete $4 default
/sbin/route delete default $5

#
# Stop active clients.  They typically doesn't behave well
# when server contact is lost.
#


#kill `ps -ax | egrep "xntpd" | egrep -v "egrep" | sed 's/^\([ 0-9]*\) .*/\1'/`
#kill `ps -ax | egrep "PopOver" | egrep -v "egrep" | sed 's/^\([ 0-9]*\) .*/\1'/`
#kill `ps -ax | egrep "PPPstats" | egrep -v "egrep" | sed 's/^\([ 0-9]*\) .*/\1'/`


#
# Signal PPPMeter.app if using that
#
#/LocalApps/PPPMeter.app/pppstatus 0



