]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
backup.pl: Run convert-ids-modification-files converter.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 20 Mar 2022 18:04:25 +0000 (19:04 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 20 Mar 2022 18:04:25 +0000 (19:04 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/backup/backup.pl

index a2337cf233034584cfc681149846347af738b00d..89dcccaa5e700811407ff232b2e4ec8ab373bab8 100644 (file)
@@ -171,6 +171,12 @@ restore_backup() {
                convert-ids-multiple-providers
        fi
 
+       # IDS new modification files converter.
+       if [-e "/var/ipfire/suricata/oinkmaster.conf" ]; then
+               # Run the converter
+               convert-ids-modification-files
+       fi
+
        # Convert DNS settings
        convert-dns-settings