4 # This script is run by the pppd after the link is established.
6 # This script is called with the following arguments:
8 # $1 Interface name ppp0
12 # $5 The link speed 38400
16 # The environment is cleared before executing this script
17 # so the path must be reset
18 PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
20 # These variables are for the use of the scripts run by run-parts
26 export PPP_IFACE PPP_PEER PPP_USER PPP_TTY PPP_SPEED
28 . /etc/rc.d/init.d/functions
29 . /lib/rc-scripts/functions.network
33 # as an additional convenience, $PPP_TTYNAME is set to the tty name,
34 # stripped of /dev/ (if present) for easier matching.
35 PPP_TTYNAME=$(basename "$PPP_TTY")
38 # Main script starts here.
39 [ -x /etc/ppp/auth-up.local ] && /etc/ppp/auth-up.local