From 4ad9f086838fee61e19f647653977317e4441d9d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 3 Sep 2017 18:22:59 +0100 Subject: [PATCH] Tripwire final install --- src/freedombone-base-tripwire | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/freedombone-base-tripwire b/src/freedombone-base-tripwire index af2cd6d6..65940edd 100755 --- a/src/freedombone-base-tripwire +++ b/src/freedombone-base-tripwire @@ -146,21 +146,6 @@ function install_tripwire { ' | twadmin --create-polfile -S /etc/tripwire/${HOSTNAME}-site.key /etc/tripwire/twpol.txt - # create the database - echo ' - -' | tripwire --init --cfgfile /etc/tripwire/tw.cfg --polfile /etc/tripwire/tw.pol --dbfile /var/lib/tripwire/${HOSTNAME}.twd - if [ ! -f /var/lib/tripwire/${HOSTNAME}.twd ]; then - echo $'tripwire database was not created' - exit 72925 - fi - # recreate the configuration - echo ' - - - - ' | reset-tripwire - mark_completed $FUNCNAME }