summaryrefslogtreecommitdiff
blob: 8f0f23f3e2d55e81136afc2072cd402fdcdc2d34 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
HOST_NAME=`uname -n`
if [ ! -e /var/lib/tripwire/${HOST_NAME}.twd ] ; then
	echo "****    Error: Tripwire database for ${HOST_NAME} not found.  ****"
	echo "**** Check tripwire.txt file for instructions or install      ****"
	echo "**** app-admin/mktwpol package (if you used the \"tools\"  ****"
	echo "**** USE flag, this has been done for you already.            ****"
else
        test -f /etc/tripwire/tw.cfg &&  /usr/sbin/tripwire --check --quiet
fi