backup.pl: Launch convert-ids-multiple-providers if neccessary.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2021-04-05 08:03:38 +02:00
parent 77b373d620
commit 4aa1382e22

View File

@@ -166,6 +166,12 @@ restore_backup() {
rm -rf "/var/ipfire/snort"
fi
# IDS multiple providers converter.
if [ -e "/var/ipfire/suricata/rules-settings" ]; then
# Run the converter
convert-ids-multiple-providers
fi
# Convert DNS settings
convert-dns-settings