Don't require user input to reset the tripwire

This commit is contained in:
Bob Mottram 2015-08-15 17:23:30 +01:00
parent 6338256a27
commit 4c4d36a4d6
1 changed files with 4 additions and 1 deletions

View File

@ -9881,7 +9881,10 @@ function intrusion_detection {
fi
# Avoid logging the changed database
sed -i 's|$(TWETC)/tw.pol.*||g' /etc/tripwire/twpol.txt
reset-tripwire
echo '
' | reset-tripwire
echo 'intrusion_detection' >> $COMPLETION_FILE
}