#!/bin/sh

HOST_NAME=`uname -n`
if [ ! -e @VARDBDIR@/${HOST_NAME}.twd ] ; then
	echo "** Error: Tripwire database for ${HOST_NAME} not found. **"
	echo "** Run '@SYSCONFDIR@/twsetup.sh' and/or '@BINDIR@/tripwire --init'. **"
else
	test -f @SYSCONFDIR@/tw.cfg && @BINDIR@/tripwire --check
fi

