Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 1 | #!/bin/sh |
2 | HOST_NAME=`uname -n` | ||||
3 | if [ ! -e /var/lib/tripwire/${HOST_NAME}.twd ] ; then | ||||
4 | echo "**** Error: Tripwire database for ${HOST_NAME} not found. ****" | ||||
5 | echo "**** Run "/etc/tripwire/twinstall.sh" and/or "tripwire --init". ****" | ||||
6 | else | ||||
7 | test -f /etc/tripwire/tw.cfg && /usr/sbin/tripwire --check | ||||
8 | fi |