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