]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
backup.pl: Run convert-ids-backend-files converter.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 16 Apr 2022 13:57:34 +0000 (15:57 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 16 Apr 2022 13:57:34 +0000 (15:57 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/backup/backup.pl

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