瀏覽代碼

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

Bob Mottram 8 年之前
父節點
當前提交
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