Ignore tt-rss lock

This commit is contained in:
Bob Mottram 2016-03-16 08:02:00 +00:00
parent 889c9c757e
commit edff40a52c
1 changed files with 3 additions and 0 deletions

View File

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