Pārlūkot izejas kodu

Ignore tt-rss lock

Bob Mottram 9 gadus atpakaļ
vecāks
revīzija
edff40a52c
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3
    0
      src/freedombone

+ 3
- 0
src/freedombone Parādīt failu

@@ -9596,6 +9596,9 @@ function intrusion_detection {
9596 9596
     if ! grep -q '!/etc/share/tt-rss/cache' /etc/tripwire/twpol.txt; then
9597 9597
         sed -i '\|/etc\t\t->.*|a\    !/etc/share/tt-rss/cache' /etc/tripwire/twpol.txt
9598 9598
     fi
9599
+    if ! grep -q '!/etc/share/tt-rss/lock' /etc/tripwire/twpol.txt; then
9600
+        sed -i '\|/etc\t\t->.*|a\    !/etc/share/tt-rss/lock' /etc/tripwire/twpol.txt
9601
+    fi
9599 9602
     # Avoid logging the changed database
9600 9603
     sed -i 's|$(TWETC)/tw.pol.*||g' /etc/tripwire/twpol.txt
9601 9604
     # recreate the configuration