소스 검색

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
 }