1 |
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-14 21:12:03.000000000 +0100 |
3 |
+++ smeserver-clamav-2.2.0/createlinks 2010-06-14 21:14:08.000000000 +0100 |
4 |
@@ -17,6 +17,7 @@ |
5 |
} |
6 |
|
7 |
templates2events("/etc/crontab", "clamav-update"); |
8 |
+templates2events("/etc/cron.daily/freshclam", "bootstrap-console-save"); |
9 |
|
10 |
my $event = "email-update"; |
11 |
|
12 |
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/10freshclam 1970-01-01 01:00:00.000000000 +0100 |
14 |
+++ 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,4 @@ |
16 |
+#! /bin/sh |
17 |
+# 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 |
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 |
22 |
+++ 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 @@ |
24 |
+PERMS=0755 |