3 # This file should not be modified
5 # This script is run by the pppd after the link is established.
7 # This script is called with the following arguments:
9 # $1 Interface name ppp0
11 # $3 The link speed 38400
12 # $4 The network number ???
13 # $5 Local IPX node address ???
14 # $6 Remote IPX node address ???
15 # $7 Local IPX routing protocol ???
16 # $8 Remote IPX routing protocol ???
17 # $9 Local IPX router name ???
18 # $10 Remote IPX router name ???
19 # $11 Optional ``ipparam'' value foo
24 # The environment is cleared before executing this script
25 # so the path must be reset
26 PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
28 # These variables are for the use of the scripts run by run-parts
36 PPP_REMOTE_RPROTO="$8"
38 PPP_REMOTE_RNAME="$10"
42 export PPP_IFACE PPP_TTY PPP_SPEED PPP_NETWORK PPP_LOCAL PPP_REMOTE
43 export PPP_LOCAL_RPROTO PPP_REMOTE_RPROTO PPP_LOCAL_RNAME PPP_REMOTE_RNAME
44 export PPP_IPPARAM PPP_PID
46 . /etc/rc.d/init.d/functions
47 . /lib/rc-scripts/functions.network
51 # as an additional convenience, $PPP_TTYNAME is set to the tty name,
52 # stripped of /dev/ (if present) for easier matching.
53 PPP_TTYNAME=$(basename "$PPP_TTY")
56 # Main Script starts here
57 [ -x /etc/ppp/ipx-down.local ] && /etc/ppp/ipx-down.local
59 run-parts /etc/sysconfig/interfaces/down.d/ipx