]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
backup.pl: Launch convert-ids-multiple-providers if neccessary.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 5 Apr 2021 06:03:38 +0000 (08:03 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 19 Dec 2021 12:23:44 +0000 (13:23 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/backup/backup.pl

index 8dffbf2e13ebe2a347c567058353a5f1ada64dbd..2b461c6c7a24164da673aa3df00873317d15c305 100644 (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