home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Linux
/
Magazine
/
wwwoffle-2.1.tar.gz
/
wwwoffle-2.1
/
contrib
/
README
< prev
next >
Wrap
Text File
|
1998-03-05
|
3KB
|
83 lines
WWWOFFLE - World Wide Web Offline Explorer - Version 2.1
=========================================================
These files are startup scripts for use with Debian, Redhat or Slackware Linux
systems that will start wwwoffle when the computer is booted and kill it when
the computer is shutdown.
There are also additions to the files used by pppd that are run when the link is
connected and disconnected to set the wwwoffled demon online and offline.
Note: I did not write or check all of these scripts, they were supplied to me by
the authors named below.
Debian (I)
----------
Filename: debian-start-stop1
Contributed: Joerg Wittenberger <Joerg.Wittenberger@inf.tu-dresden.de>
What Joerg said about installing this script:
> [The script is] Usually called like the system those belong to, e.g., 'bind',
> 'nfs', 'apache'; `wwwoffle' would be a good choice.
>
> Those script go into the `init.d' directory. It's usually either
> '/etc/init.d' because it comprises the system configuration or under
> '/sbin/init.d', or '/usr/sbin/init.d' because to be exact only
> symlinks within the rc<runlevel>.d are the actual config data.
Debian (II)
-----------
Filename: debian-start-stop2
Contributed: Remo Petritoli <petritoli@iol.it>
This is a modified version of the one above with some extra features.
Redhat
------
Filename: redhat-init
Contributed: Gianpaolo Macario <macario@tin.it> [Redhat package maintainer]
What Gianpaolo said about installing this script:
> [Name the file] /etc/rc.d/init.d/wwwoffle.init [and make the links]
> ln -sf ../init.d/wwwoffle.init /etc/rc.d/rc3.d/S95wwwoffle.init
> ln -sf ../init.d/wwwoffle.init /etc/rc.d/rc0.d/K17wwwoffle.init
> ln -sf ../init.d/wwwoffle.init /etc/rc.d/rc1.d/K17wwwoffle.init
> ln -sf ../init.d/wwwoffle.init /etc/rc.d/rc6.d/K17wwwoffle.init
Slackware (or other BSD style system)
---------
Filename: slackware-rc.local
Contributed: Andrew M. Bishop <amb@gedanken.demon.co.uk> [WWWOFFLE Author]
If you have a Slackware system (or other BSD style system) then you can start
wwwoffled by putting it in the rc.local file. The slackware-rc.local file
should be appended to the /etc/rc.d/rc.local (or /etc/rc.local) file.
It is not important that the wwwoffled demon is killed when the computer is
shutdown.
PPPD
----
Filenames: ppp-ip-up & ppp-ip-down
Contributed: Andrew M. Bishop <amb@gedanken.demon.co.uk> [WWWOFFLE Author]
If you use PPP then there will be scripts that the pppd program will run when
the link is connected and before it is disconnected. These can be used to set
the wwwoffled demon online and offline automatically and to fetch the pages that
have been requested.
The file ppp-ip-up should be appended to the /etc/ppp/ip-up file and the
ppp-ip-down file should be appended to the /etc/ppp/ip-down file.