浏览代码

Merge branch 'stretch' of https://github.com/bashrc/freedombone

Bob Mottram 7 年前
父节点
当前提交
2b485eeb7d
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      src/freedombone-base-tripwire

+ 2
- 0
src/freedombone-base-tripwire 查看文件

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