diff options
Diffstat (limited to 'meta-security/recipes-security/tripwire/files/tripwire.cron')
-rw-r--r-- | meta-security/recipes-security/tripwire/files/tripwire.cron | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-security/recipes-security/tripwire/files/tripwire.cron b/meta-security/recipes-security/tripwire/files/tripwire.cron new file mode 100644 index 000000000..2035508d7 --- /dev/null +++ b/meta-security/recipes-security/tripwire/files/tripwire.cron @@ -0,0 +1,8 @@ +#!/bin/sh +HOST_NAME=`uname -n` +if [ ! -e /var/lib/tripwire/${HOST_NAME}.twd ] ; then + echo "**** Error: Tripwire database for ${HOST_NAME} not found. ****" + echo "**** Run "/etc/tripwire/twinstall.sh" and/or "tripwire --init". ****" +else + test -f /etc/tripwire/tw.cfg && /usr/sbin/tripwire --check +fi |