home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.0 (User) / OS_user_4.0.iso / private / etc / ppp / Examples / ip-down < prev    next >
Encoding:
Text File  |  1995-06-14  |  432 b   |  13 lines

  1. #!/bin/sh
  2. #
  3. # This script is executed when the IP layer goes down. It indicates that
  4. # the connection is failing. The script will ensure that the modem has
  5. # really terminated and then redial the system.
  6. #
  7. # All of the real work is performed by the second part script which I can
  8. # fork off into the background so that this may terminate without locking
  9. # the existing pppd process.
  10. #
  11. /etc/ppp/ip-down-part2 $1 $2 $3 $4 $5 &
  12. exit 0
  13.