ppp-ip-up
上传用户:seven77cht
上传日期:2007-01-04
资源大小:486k
文件大小:1k
- #!/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