mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 19:30:44 +01:00
Avoid some 'check worked, restart did not' situations
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5721 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
7592f5cb2f
commit
c13b504c14
@ -769,15 +769,16 @@ sub compile_firewall( $ ) {
|
|||||||
progress_message2 "$doing Accounting...";
|
progress_message2 "$doing Accounting...";
|
||||||
setup_accounting;
|
setup_accounting;
|
||||||
|
|
||||||
|
progress_message2 'Generating Rule Matrix...';
|
||||||
|
generate_matrix;
|
||||||
|
generate_script_3;
|
||||||
|
|
||||||
if ( $command eq 'check' ) {
|
if ( $command eq 'check' ) {
|
||||||
progress_message3 "Shorewall configuration verified";
|
progress_message3 "Shorewall configuration verified";
|
||||||
} else {
|
} else {
|
||||||
#
|
#
|
||||||
# Finish the script.
|
# Finish the script.
|
||||||
#
|
#
|
||||||
progress_message2 'Generating Rule Matrix...';
|
|
||||||
generate_matrix;
|
|
||||||
generate_script_3;
|
|
||||||
finalize_object;
|
finalize_object;
|
||||||
#
|
#
|
||||||
# And generate the auxilary config file
|
# And generate the auxilary config file
|
||||||
|
Loading…
Reference in New Issue
Block a user