Ignore tt-rss lock
This commit is contained in:
parent
889c9c757e
commit
edff40a52c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue