浏览代码

Don't require user input to reset the tripwire

Bob Mottram 10 年前
父节点
当前提交
4c4d36a4d6
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4
    1
      src/freedombone

+ 4
- 1
src/freedombone 查看文件

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