Przeglądaj źródła

Don't require user input to reset the tripwire

Bob Mottram 10 lat temu
rodzic
commit
4c4d36a4d6
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4
    1
      src/freedombone

+ 4
- 1
src/freedombone Wyświetl plik

9881
   fi
9881
   fi
9882
   # Avoid logging the changed database
9882
   # Avoid logging the changed database
9883
   sed -i 's|$(TWETC)/tw.pol.*||g' /etc/tripwire/twpol.txt
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
   echo 'intrusion_detection' >> $COMPLETION_FILE
9889
   echo 'intrusion_detection' >> $COMPLETION_FILE
9887
 }
9890
 }