forked from extern/shorewall_code
Avoid second append of the 'stopped' file
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5606 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
241bf4ffe5
commit
8f82d7f161
@ -413,7 +413,7 @@ stop_firewall() {
|
|||||||
emit 'progress_message2 IP Forwarding Disabled!';
|
emit 'progress_message2 IP Forwarding Disabled!';
|
||||||
}
|
}
|
||||||
|
|
||||||
append_file 'stopped';
|
emit 'run_stopped_exit';
|
||||||
|
|
||||||
pop_indent;
|
pop_indent;
|
||||||
|
|
||||||
@ -706,6 +706,9 @@ sub compile_firewall( $ ) {
|
|||||||
dump_chain_table if $ENV{DEBUG};
|
dump_chain_table if $ENV{DEBUG};
|
||||||
generate_script_3;
|
generate_script_3;
|
||||||
finalize_object;
|
finalize_object;
|
||||||
|
#
|
||||||
|
# And generate the auxilary config file
|
||||||
|
#
|
||||||
generate_aux_config;
|
generate_aux_config;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user