Add some comments describing Config.pm globals

- Also changed $shell from 'my' to 'our'.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-12-26 10:55:13 -08:00
parent 84cc78c58e
commit 14bbda14a2

View File

@ -494,11 +494,11 @@ our $first_entry; # Message to output or function to call on first no
our $file_format; # Format of configuration file.
our $max_format; # Max format value
our $comment; # Current COMMENT
our $comments_allowed;
our $nocomment;
our $warningcount;
our $warningcount1;
our $warningcount2;
our $comments_allowed; # True if [?]COMMENT is allowed in the current file
our $nocomment; # When true, ignore [?]COMMENT in the current file
our $warningcount; # Used to suppress duplicate warnings about missing COMMENT support
our $warningcount1; # Used to suppress duplicate warnings about COMMENT being deprecated
our $warningcount2; # Used to suppress duplicate warnings about FORMAT being deprecated
our $shorewall_dir; # Shorewall Directory; if non-empty, search here first for files.
@ -517,7 +517,7 @@ our $iptables; # Path to iptables/ip6tables
our $tc; # Path to tc
our $ip; # Path to ip
my $shell; # Type of shell that processed the params file
our $shell; # Type of shell that processed the params file
use constant { BASH => 1,
OLDBASH => 2,