#!/bin/sh
# $Id: tripwire-check.in 45472 2009-01-16 14:49:08Z ryandesign@macports.org $
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

