From 59f018b3361b97403457312798f1b5bacd658319 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 15 Jul 2017 11:37:41 +0100 Subject: [PATCH] Set site key filename --- src/freedombone-base-tripwire | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedombone-base-tripwire b/src/freedombone-base-tripwire index fd55e9f4..cf89b91b 100755 --- a/src/freedombone-base-tripwire +++ b/src/freedombone-base-tripwire @@ -115,6 +115,8 @@ function install_tripwire { fi # Avoid logging the changed database 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 echo '