From 26b80c868f1faa85e87331df9566272a38a859b2 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 4 Aug 2017 23:50:58 +0100 Subject: [PATCH] Don't need this if email is configured properly --- src/freedombone-base-tripwire | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/freedombone-base-tripwire b/src/freedombone-base-tripwire index 74772c79..f5d198ae 100755 --- a/src/freedombone-base-tripwire +++ b/src/freedombone-base-tripwire @@ -76,6 +76,7 @@ function install_tripwire { echo 'REPORTLEVEL =3' >> /etc/tripwire/twcfg.txt echo 'SYSLOGREPORTING =false' >> /etc/tripwire/twcfg.txt echo 'MAILMETHOD =SENDMAIL' >> /etc/tripwire/twcfg.txt + echo 'MAILPROGRAM =/usr/lib/sendmail -oi -t' >> /etc/tripwire/twcfg.txt echo 'SMTPHOST =localhost' >> /etc/tripwire/twcfg.txt echo 'SMTPPORT =25' >> /etc/tripwire/twcfg.txt echo 'TEMPDIRECTORY =/tmp' >> /etc/tripwire/twcfg.txt @@ -139,12 +140,6 @@ function install_tripwire { ' | reset-tripwire - if ! grep -q "tripwire" /etc/crontab; then - TRIPWIRE_MIN=$((1 + RANDOM % 49)) - TRIPWIRE_HOUR=$((1 + RANDOM % 6)) - echo "${TRIPWIRE_MIN} ${TRIPWIRE_HOUR} * * * root /usr/sbin/tripwire -m c" >> /etc/crontab - fi - mark_completed $FUNCNAME }