#!/bin/sh
# $Id: tripwire-check.in,v 1.1 2004/04/28 21:42:50 rshaw Exp $
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

