Package: prey
Version: 0.5.3-6
Severity: important
Tags: patch
Hi,
ERROR:
- update fails
CAUSE:
- I temporarily changed /etc/cron.d/prey: deactivated
regular exec. See below for the change.
PATCH:
- only try to update cron config if there's an active entry or skip.
--- config.orig 2012-01-11 20:34:09.022612405 +0100
+++ config 2012-01-11 20:35:03.690928954 +0100
@@ -65,7 +65,7 @@
done
fi
-if [ -f "/etc/cron.d/prey" ]
+if [ -f "/etc/cron.d/prey" -a -n "$(grep 'prey.sh' /etc/cron.d/prey | egrep -v
'^#|^#$|^\s+#')" ]
then
# Frequency of reports and actions
prey suggests no packages.
-- Configuration Files:
/etc/cron.d/prey changed:
# /etc/cron.d/prey: crontab entries for the prey package
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SHELL=/bin/bash
#*/20 * * * * root /usr/lib/prey/prey.sh >/var/log/prey.log
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]