diff -Nur -x '*.orig' -x '*.rej' smeserver-clamav-1.2.0/createlinks mezzanine_patched_smeserver-clamav-1.2.0/createlinks --- smeserver-clamav-1.2.0/createlinks 2006-03-15 17:38:28.000000000 -0700 +++ mezzanine_patched_smeserver-clamav-1.2.0/createlinks 2008-04-18 10:30:52.000000000 -0600 @@ -5,7 +5,7 @@ my $panel = "manager"; panel_link("clamav", $panel); -foreach (qw(freshclam.conf clamd.conf cron.d/clamav)) +foreach (qw(freshclam.conf clamd.conf crontab)) { templates2events("/etc/$_", qw( diff -Nur -x '*.orig' -x '*.rej' smeserver-clamav-1.2.0/root/etc/e-smith/templates/etc/cron.d/clamav mezzanine_patched_smeserver-clamav-1.2.0/root/etc/e-smith/templates/etc/cron.d/clamav --- smeserver-clamav-1.2.0/root/etc/e-smith/templates/etc/cron.d/clamav 2005-08-18 22:20:01.000000000 -0600 +++ mezzanine_patched_smeserver-clamav-1.2.0/root/etc/e-smith/templates/etc/cron.d/clamav 1969-12-31 17:00:00.000000000 -0700 @@ -1,14 +0,0 @@ -{ - my $min = substr(gmtime,14,2); - - $OUT .= "\n"; - $OUT .= "# smeserver-clamscan filesystem scan\n"; - my $ScanFreq = $clamav{FilesystemScan} || 'disabled'; - if ($ScanFreq eq 'daily') { - $OUT .= $min."\t0\t*\t*\t*\troot\t/sbin/e-smith/smeserver-clamscan\n"; - } elsif ($ScanFreq eq 'weekly') { - $OUT .= $min."\t0\t*\t*\t0\troot\t/sbin/e-smith/smeserver-clamscan\n"; - } else { - $OUT .= "# disabled\n"; - } -} diff -Nur -x '*.orig' -x '*.rej' smeserver-clamav-1.2.0/root/etc/e-smith/templates/etc/crontab/clamav mezzanine_patched_smeserver-clamav-1.2.0/root/etc/e-smith/templates/etc/crontab/clamav --- smeserver-clamav-1.2.0/root/etc/e-smith/templates/etc/crontab/clamav 1969-12-31 17:00:00.000000000 -0700 +++ mezzanine_patched_smeserver-clamav-1.2.0/root/etc/e-smith/templates/etc/crontab/clamav 2008-04-18 10:30:52.000000000 -0600 @@ -0,0 +1,14 @@ +{ + my $min = substr(gmtime,14,2); + + $OUT .= "\n"; + $OUT .= "# smeserver-clamscan filesystem scan\n"; + my $ScanFreq = $clamav{FilesystemScan} || 'disabled'; + if ($ScanFreq eq 'daily') { + $OUT .= $min."\t0\t*\t*\t*\troot\t/sbin/e-smith/smeserver-clamscan\n"; + } elsif ($ScanFreq eq 'weekly') { + $OUT .= $min."\t0\t*\t*\t0\troot\t/sbin/e-smith/smeserver-clamscan\n"; + } else { + $OUT .= "# disabled\n"; + } +}