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 >
Wrap
Text File
|
1997-12-27
|
539b
|
18 lines
#!/bin/sh
#
# Copyright Andrew M. Bishop 1997
#
# To have wwwoffled go online and start fetching when a PPP link is connected
# add this to the file /etc/ppp/ip-up (you may need to change the paths).
# Set the WWWOFFLE HTTP proxy server online.
if [ -x /usr/local/bin/wwwoffle ]; then
/usr/local/bin/wwwoffle -online -c /var/spool/wwwoffle/wwwoffle.conf
fi
# Get the WWWOFFLE HTTP proxy server to fetch requested URLs.
if [ -x /usr/local/bin/wwwoffle ]; then
/usr/local/bin/wwwoffle -fetch -c /var/spool/wwwoffle/wwwoffle.conf
fi