]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Make firewall convert scripts more robust.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 18 Jan 2014 17:11:09 +0000 (18:11 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 18 Jan 2014 17:28:07 +0000 (18:28 +0100)
The converter scripts procude a lot of error, when they get executed on a system with
a previously installed version of the New Firewall or they get run twice.

In this case the scripts will detect that their input files are missing and will exit with
an error message. The scripts now also check if the input files are empty (no corresponding
rules created) and will exit with an nothing to do message.


No differences found