1#!/bin/sh 2# 3# This script is run by the pppd after the link is established. 4# It should be used to add routes, set IP address, run the mailq 5# etc. 6# 7# This script is called with the following arguments: 8# Arg Name Example 9# $1 Interface name ppp0 10# $2 The tty ttyS1 11# $3 The link speed 38400 12# $4 Local IP number 12.34.56.78 13# $5 Peer IP number 12.34.56.99 14# 15 16# 17# The environment is cleared before executing this script 18# so the path must be reset 19# 20PATH=/usr/sbin:/sbin:/usr/bin:/bin 21export PATH 22 23# last line 24