diff options
Diffstat (limited to 'meta-security/recipes-security/tripwire/files/tripwire.sh')
-rw-r--r-- | meta-security/recipes-security/tripwire/files/tripwire.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-security/recipes-security/tripwire/files/tripwire.sh b/meta-security/recipes-security/tripwire/files/tripwire.sh new file mode 100644 index 000000000..4276d10eb --- /dev/null +++ b/meta-security/recipes-security/tripwire/files/tripwire.sh @@ -0,0 +1,9 @@ +#!/bin/sh +HOST_NAME=`uname -n` +if [ ! -e /var/lib/tripwire/${HOST_NAME}.twd ] ; then + echo "**** WARNING: Tripwire database for ${HOST_NAME} not found. ****" + echo "**** Run "/etc/tripwire/twinstall.sh" and/or "tripwire --init". ****" + # Note: /etc/tripwire/twinstall.sh creates and initializes tripwire + # database (i.e tripwire --init). + # Example: . /etc/tripwire/twinstall.sh 2> /dev/null +fi |