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-up < prev    next >
Text File  |  1997-12-27  |  539b  |  18 lines

  1. #!/bin/sh
  2. #
  3. # Copyright Andrew M. Bishop 1997
  4. #
  5.  
  6. # To have wwwoffled go online and start fetching when a PPP link is connected
  7. # add this to the file /etc/ppp/ip-up (you may need to change the paths).
  8.  
  9. # Set the WWWOFFLE HTTP proxy server online.
  10. if [ -x /usr/local/bin/wwwoffle ]; then
  11.    /usr/local/bin/wwwoffle -online -c /var/spool/wwwoffle/wwwoffle.conf
  12. fi
  13.  
  14. # Get the WWWOFFLE HTTP proxy server to fetch requested URLs.
  15. if [ -x /usr/local/bin/wwwoffle ]; then
  16.    /usr/local/bin/wwwoffle -fetch -c /var/spool/wwwoffle/wwwoffle.conf
  17. fi
  18.