Try to avoid user interaction on installing tripwire

This commit is contained in:
Bob Mottram 2015-12-02 11:27:25 +00:00
parent 825800a68e
commit e43611da50
1 changed files with 4 additions and 6 deletions

View File

@ -11289,12 +11289,10 @@ function intrusion_detection {
apt-get -y autoremove
cd /etc/tripwire
cp site.key $DEFAULT_DOMAIN_NAME-site.key
echo ''
echo ''
echo '*** Installing intrusion detection. Press Enter when asked for the local and site passphrases. ***'
echo ''
echo ''
tripwire --init
echo '*** Installing intrusion detection ***'
echo '
' | tripwire --init
# make a script for easy resetting of the tripwire
echo '#!/bin/sh' > /usr/bin/reset-tripwire