1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-failed mezzanine_patched_smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-failed |
2 |
--- smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-failed 2005-08-18 22:20:00.000000000 -0600 |
3 |
+++ mezzanine_patched_smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-failed 2007-01-26 14:49:11.000000000 -0700 |
4 |
@@ -17,6 +17,7 @@ |
5 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
6 |
#---------------------------------------------------------------------- |
7 |
|
8 |
-mail -s 'freshclam: Update failed' admin </dev/null |
9 |
+tail -200 /var/log/freshclam/current | sed -n '${x;p};/freshclam daemon/{h;b};H' | tai64nlocal | \ |
10 |
+ mail -s 'freshclam: Update failed' admin |
11 |
|
12 |
exit 0 |
13 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-ok mezzanine_patched_smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-ok |
14 |
--- smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-ok 2005-08-18 22:20:00.000000000 -0600 |
15 |
+++ mezzanine_patched_smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-ok 2007-01-26 14:49:23.000000000 -0700 |
16 |
@@ -17,6 +17,7 @@ |
17 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 |
#---------------------------------------------------------------------- |
19 |
|
20 |
-# mail -s 'freshclam: Virus patterns updated' admin </dev/null |
21 |
+#tail -200 /var/log/freshclam/current | sed -n '${x;p};/freshclam daemon/{h;b};H' | tai64nlocal | \ |
22 |
+# mail -s 'freshclam: Virus patterns updated' admin |
23 |
|
24 |
exit 0 |