diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-06-11 11:44:34 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-06-11 11:44:34 +0000 |
commit | ab5559aaabd1167a18ac882e64d97c5adc0e7d03 (patch) | |
tree | d22adafe4701e0abbccc7456fc58ae60ce75d5fb /mdk-stage1/ppp/sample/ip-down | |
parent | f35f2383eed07ff16aa76f30975817117eea6cbb (diff) | |
download | drakx-ab5559aaabd1167a18ac882e64d97c5adc0e7d03.tar drakx-ab5559aaabd1167a18ac882e64d97c5adc0e7d03.tar.gz drakx-ab5559aaabd1167a18ac882e64d97c5adc0e7d03.tar.bz2 drakx-ab5559aaabd1167a18ac882e64d97c5adc0e7d03.tar.xz drakx-ab5559aaabd1167a18ac882e64d97c5adc0e7d03.zip |
Initial revision
Diffstat (limited to 'mdk-stage1/ppp/sample/ip-down')
-rw-r--r-- | mdk-stage1/ppp/sample/ip-down | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mdk-stage1/ppp/sample/ip-down b/mdk-stage1/ppp/sample/ip-down new file mode 100644 index 000000000..b771fb644 --- /dev/null +++ b/mdk-stage1/ppp/sample/ip-down @@ -0,0 +1,22 @@ +#!/bin/sh +# +# This script is run by the pppd _after_ the link is brought down. +# It should be used to delete routes, unset IP addresses etc. +# +# This script is called with the following arguments: +# Arg Name Example +# $1 Interface name ppp0 +# $2 The tty ttyS1 +# $3 The link speed 38400 +# $4 Local IP number 12.34.56.78 +# $5 Peer IP number 12.34.56.99 +# + +# +# The environment is cleared before executing this script +# so the path must be reset +# +PATH=/usr/sbin:/sbin:/usr/bin:/bin +export PATH + +# last line |