1 |
diff -ruN smeserver-clamav-2.2.0.old/createlinks smeserver-clamav-2.2.0/createlinks |
diff -ruN smeserver-clamav-2.2.0.old/createlinks smeserver-clamav-2.2.0/createlinks |
2 |
--- smeserver-clamav-2.2.0.old/createlinks 2010-06-05 19:53:20.000000000 +0100 |
--- smeserver-clamav-2.2.0.old/createlinks 2010-06-14 21:12:03.000000000 +0100 |
3 |
+++ smeserver-clamav-2.2.0/createlinks 2010-06-05 19:51:33.000000000 +0100 |
+++ smeserver-clamav-2.2.0/createlinks 2010-06-14 21:14:08.000000000 +0100 |
4 |
@@ -5,7 +5,7 @@ |
@@ -17,6 +17,7 @@ |
5 |
my $panel = "manager"; |
} |
|
panel_link("clamav", $panel); |
|
6 |
|
|
7 |
-foreach (qw(freshclam.conf clamd.conf logrotate.d/clamscan)) |
templates2events("/etc/crontab", "clamav-update"); |
8 |
+foreach (qw(freshclam.conf clamd.conf logrotate.d/clamscan cron.daily/freshclam)) |
+templates2events("/etc/cron.daily/freshclam", "bootstrap-console-save"); |
9 |
{ |
|
10 |
templates2events("/etc/$_", |
my $event = "email-update"; |
11 |
qw( |
|
12 |
diff -ruN smeserver-clamav-2.2.0.old/root/etc/e-smith/templates/etc/cron.daily/freshclam smeserver-clamav-2.2.0/root/etc/e-smith/templates/etc/cron.daily/freshclam |
diff -ruN smeserver-clamav-2.2.0.old/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam smeserver-clamav-2.2.0/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam |
13 |
--- smeserver-clamav-2.2.0.old/root/etc/e-smith/templates/etc/cron.daily/freshclam 1970-01-01 01:00:00.000000000 +0100 |
--- smeserver-clamav-2.2.0.old/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam 1970-01-01 01:00:00.000000000 +0100 |
14 |
+++ smeserver-clamav-2.2.0/root/etc/e-smith/templates/etc/cron.daily/freshclam 2010-06-05 19:51:33.000000000 +0100 |
+++ smeserver-clamav-2.2.0/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam 2010-06-14 21:14:08.000000000 +0100 |
15 |
@@ -0,0 +1 @@ |
@@ -0,0 +1,4 @@ |
16 |
+# blank file |
+#! /bin/sh |
17 |
\ No newline at end of file |
+# We do not run freshclam here, because an always-running supervised freshclam |
18 |
|
+# is used in SME Server |
19 |
|
+exit 0 |
20 |
diff -ruN smeserver-clamav-2.2.0.old/root/etc/e-smith/templates.metadata/etc/cron.daily/freshclam smeserver-clamav-2.2.0/root/etc/e-smith/templates.metadata/etc/cron.daily/freshclam |
diff -ruN smeserver-clamav-2.2.0.old/root/etc/e-smith/templates.metadata/etc/cron.daily/freshclam smeserver-clamav-2.2.0/root/etc/e-smith/templates.metadata/etc/cron.daily/freshclam |
21 |
--- smeserver-clamav-2.2.0.old/root/etc/e-smith/templates.metadata/etc/cron.daily/freshclam 1970-01-01 01:00:00.000000000 +0100 |
--- smeserver-clamav-2.2.0.old/root/etc/e-smith/templates.metadata/etc/cron.daily/freshclam 1970-01-01 01:00:00.000000000 +0100 |
22 |
+++ smeserver-clamav-2.2.0/root/etc/e-smith/templates.metadata/etc/cron.daily/freshclam 2010-06-05 19:51:33.000000000 +0100 |
+++ smeserver-clamav-2.2.0/root/etc/e-smith/templates.metadata/etc/cron.daily/freshclam 2010-06-14 21:14:08.000000000 +0100 |
23 |
@@ -0,0 +1 @@ |
@@ -0,0 +1 @@ |
24 |
+PERMS=0755 |
+PERMS=0755 |