These two utility scripts (auto_update_ides.sh and auto_update_sweep.sh)
update the Sophos Sweep IDE (virus definition) files over the web and the
scanner itself from the regular update CDs.

These scripts are

    Copyright (c) 2001 Leon Brooks <sophosticated@cyberknights.com.au>

There is no warranty of any kind. You may use these scripts only as allowed
under the terms of the GNU GPL (see http://www.gnu.org/copyleft/gpl.html for
details).

These scripts require BASH or a compatible shell. They were originally made
and tested on a Mandrake Linux 8.0 installation (and still work fine up to
Mandrake 9.1), so you may need to alter the paths to the utility programs
(ls gawk grep mail logger eject) to suit your system. I also installed Sweep
in /home/sweep rather than the default directory, which you may not have
done. The site I made this for doesn't use InterCheck.

I run auto_update_ides thrice daily and auto_update_sweep daily, the client's
staff leave any new Sophos CD in the drive over the weekend so that the
update script can see and use it. The example crontab reflects this. To use
it as-is (and this presumes that you have nothing else in root's crontab,
do "crontab -l" to check), do "crontab crontab" in this directory.

The scripts work for me, they will probably work on any reasonably
well-equipped Unix system, and maybe many others such as BeOS, OS/2 and
OS/X, but as I said above there is no guarantee or warranty of any kind. If
you break it, you get to keep both pieces (under the terms of the GPL, of
course).

Yes, this even includes D'ohl MacBride and his cronies, to whose level of
pettiness and selfishness I refuse to stoop.

