-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am yanking out the cron check.  No reason for it if UPCP is handling
updates.

Thank you so much for the advice, Nick!

On 9/24/13 9:32 PM, J. Nick Koston wrote:
> In pkg/Cpanel/Security/Advisor/Assessors/ClamAV.pm:
> 
>> +                    'text'       => ['ClamAV\'s freshclam binary
>> is not installed.'], +                    'suggestion' => [ +
>> 'Install ClamAV within "[output,url,_1,Manage Plugins,_2,_3]".', 
>> +
>> $self->base_path('scripts2/getthemes?modules=1'), 'target',
>> '_blank', +                    ], +                } +
>> ); +        } +        _check_freshclam_cron(); +        if (
>> !$clamav{'freshclam'}{'cron_enabled'} ) { +
>> $security_advisor_obj->add_advice( +                { +
>> 'type'       => $Cpanel::Security::Advisor::ADVISE_BAD, +
>> 'text'       => ['ClamAV\'s freshclam cron is missing from
>> /var/spool/cron/root.  Without this you will fail to have the
>> latest definitions unless you manually run the freshclam
>> binary.'], +                    'suggestion' => [ +
>> "Add \"6 4 * * * $clamav{'freshclam'}{'bin'} --quiet
>> --no-warnings\" to /var/spool/cron/root using \'crontab -u root
>> -e\'."
> 
> We already do this every upcp anyways.
> 
> maintenance: if ( -e "/usr/bin/freshclam" ) { maintenance:
> $action{'cmd'} = [ '/usr/bin/freshclam', '--quiet', '-l', 
> '/var/log/clam-update.log' ]; maintenance: elsif ( -e
> "/usr/local/bin/freshclam" ) { maintenance: $action{'cmd'} = [
> '/usr/local/bin/freshclam', '--quiet', '-l',
> '/var/log/clam-update.log' ];
> 
> — Reply to this email directly or view it on GitHub 
> <https://github.com/bdraco/addon_securityadvisor/pull/66/files#r6562771>.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSTIN8AAoJEOnT2p1m+tjg+7kH/2XkY2Ndl9CYMr9txmnMgfnI
QftEIU0EIVUNmRQy+w5IeK4T6DLQVZF0TMy6bp0bSgUECXlBd2vsMQZF+GBS3Y9b
uMnvpUOrvjbCl/0mXYLI+XOtWPW1MYsuykr3R6Q0MBoMlhdFAWrjg1uvie9F/nno
9VThVZrsxxWNpOvKVmk1Bb/JZkkzU8XFAg3n/543acbvOVje6fCvlvZImfWvlsXK
VQ5y+vP0eo3eH5B2pVeZyXS4MCw64fmqEpv9F2bkSeH/QcXQq8XGIYQ2PJC0nehu
XKs09VOi+Q1wNuSkNTi8o349cogG/fJA4FnJAC5LXrRg+P6YwAVHO8AZroyBYUc=
=FyF+
-----END PGP SIGNATURE-----