Semicolons
This commit is contained in:
parent
a8f0f58c98
commit
64afd95bd2
|
@ -9548,10 +9548,10 @@ function intrusion_detection {
|
|||
fi
|
||||
# ignore tt-rss cache
|
||||
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
|
||||
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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue