home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- # /etc/ppp/ip-down: the command executed by pppd when IP goes down.
- # Copyright 1994 John A. Phillips - john@linux.demon.co.uk
- #
- # Parameters:
- # $1 = network interface used (e.g. ppp0)
- # $2 = pathname of serial device file (e.g. /dev/modem or /dev/ttyS1)
- # $3 = device speed (e.g. 38400)
- # $4 = local address (e.g. 158.152.16.94)
- # $5 = remote address (e.g. 158.152.1.222)
-