Set site key filename

This commit is contained in:
Bob Mottram 2017-07-15 11:37:41 +01:00
parent a752130127
commit 59f018b336
1 changed files with 2 additions and 0 deletions

View File

@ -115,6 +115,8 @@ function install_tripwire {
fi fi
# Avoid logging the changed database # Avoid logging the changed database
sed -i 's|$(TWETC)/tw.pol.*||g' /etc/tripwire/twpol.txt sed -i 's|$(TWETC)/tw.pol.*||g' /etc/tripwire/twpol.txt
# site key name
sed -i 's|$(TWETC)/site.key|$(TWETC)/$(HOSTNAME)-site.key|g' /etc/tripwire/twpol.txt
# create the policy # create the policy
echo ' echo '