]> git.ipfire.org Git - ipfire-2.x.git/commit - config/rootfiles/core/131/update.sh
Core 130: Remove files after convert-snort has been launched
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 18 Mar 2019 19:33:28 +0000 (20:33 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 16 Mar 2019 21:22:50 +0000 (21:22 +0000)
commitb60fd7a3e2640d7da41a3bdb875669c302849acc
tree3d211ebafacb62528bf336984d9d93d6e71cc820
parentceaf0ef0087abb09e9cca1677c67776cf76ce417
Core 130: Remove files after convert-snort has been launched

The converter requires /etc/snort/snort.conf to grab the used rule files
(categories). After all settings have been converted, we are fine to delete all
snort related files, because none of them is needed anymore.

Also the /var/ipfire/snort directory needs to be deleted. If it will be left on the
system and at any later time a backup will get restored, the converter will be
started by the backup script, because it detects that a snort settins dir exists
and would be restore the old snort settings and replaces all current IPS settings.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/130/update.sh