aboutsummaryrefslogtreecommitdiffstats
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 @@
+#!/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