From e43611da500eba53e32ca02aaf2a3d5fcca5eabf Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 2 Dec 2015 11:27:25 +0000 Subject: [PATCH] Try to avoid user interaction on installing tripwire --- src/freedombone | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/freedombone b/src/freedombone index f2fb5759..3bf39bc7 100755 --- a/src/freedombone +++ b/src/freedombone @@ -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