Cosmetic change to generated script

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7040 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-08-03 18:47:58 +00:00
parent ddbbb6c0b6
commit d857725333

View File

@ -86,14 +86,15 @@ sub generate_script_1() {
copy $globals{SHAREDIRPL} . 'prog.header';
for my $exit qw/init start tcclear started stop stopped clear refresh refreshed/ {
emit "run_${exit}_exit() {";
emit "\nrun_${exit}_exit() {";
push_indent;
append_file $exit or emit 'true';
pop_indent;
emit "}\n";
emit '}';
}
emit ( '#',
emit ( '',
'#',
'# This function initializes the global variables used by the program',
'#',
'initialize()',