mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-11 08:08:12 +01:00
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:
parent
ddbbb6c0b6
commit
d857725333
@ -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()',
|
||||
|
Loading…
Reference in New Issue
Block a user