home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Magazine / wwwoffle-2.1.tar.gz / wwwoffle-2.1 / contrib / ppp-ip-down < prev    next >
Text File  |  1997-12-27  |  351b  |  13 lines

  1. #!/bin/sh
  2. #
  3. # Copyright Andrew M. Bishop 1997
  4. #
  5.  
  6. # To have wwwoffled go offline when a PPP link is disconnected add this to the
  7. # file /etc/ppp/ip-down (you may need to change the paths).
  8.  
  9. # Set the WWWOFFLE HTTP proxy server offline.
  10. if [ -x /usr/local/bin/wwwoffle ]; then
  11.    /usr/local/bin/wwwoffle -offline -c /var/spool/wwwoffle/wwwoffle.conf
  12. fi
  13.