virus update scripts.

Bob Jones bob.jones at USG.EDU
Wed Sep 3 19:56:39 IST 2003


Hey all, a couple things here.  First is with the mcafee-autoupdate
script in the latest release.  What is this extra.dat file it tries to
download and complains about when it's not there?  Second, there is a
problem with the update_virus_scanners on Solaris.  The grep you have
uses the -e flag, and unless you happen to have /usr/xpg4/bin first in
your path you'll be out of luck.  I've fixed this by adding the
following right below the LOCKFILE declaration:

OS=`uname`
if [ ${OS} = SunOS ]; then
   echo "Found OS"
   GREP=/usr/xpg4/bin/grep
else
   GREP=grep
fi

And then changing the subsequent grep to ${GREP}.  Adding this should
fix Solaris systems without breaking any systems that aren't already broken.

--
Thanks,
Bob Jones



More information about the MailScanner mailing list