]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/backup/backup.pl
backup.pl: Launch convert-ids-multiple-providers if neccessary.
[people/pmueller/ipfire-2.x.git] / 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