Tom being anal

This commit is contained in:
Tom Eastep 2011-01-15 20:59:59 -08:00
parent 4ea02a5e72
commit 3074d3009f

View File

@ -338,26 +338,25 @@ sub initialize( $ ) {
( $product, $Product, $toolname, $toolNAME ) = qw( shorewall6 Shorewall6 ip6tables IP6TABLES ); ( $product, $Product, $toolname, $toolNAME ) = qw( shorewall6 Shorewall6 ip6tables IP6TABLES );
} }
$verbosity = 0; # Verbosity setting. -1 = silent, 0 = almost silent, 1 = major progress messages only, 2 = all progress messages (very noisy) $verbosity = 0; # Verbosity setting. -1 = silent, 0 = almost silent, 1 = major progress messages only, 2 = all progress messages (very noisy)
$log = undef; # File reference for log file $log = undef; # File reference for log file
$log_verbosity = -1; # Verbosity of log. $log_verbosity = -1; # Verbosity of log.
$timestamp = ''; # If true, we are to timestamp each progress message $timestamp = ''; # If true, we are to timestamp each progress message
$script = 0; # Script (output) file Handle Reference $script = 0; # Script (output) file Handle Reference
$script_enabled = 0; # Writing to output file is disabled initially $script_enabled = 0; # Writing to output file is disabled initially
$lastlineblank = 0; # Avoid extra blank lines in the output $lastlineblank = 0; # Avoid extra blank lines in the output
$indent1 = ''; # Current indentation tabs $indent1 = ''; # Current indentation tabs
$indent2 = ''; # Current indentation spaces $indent2 = ''; # Current indentation spaces
$indent = ''; # Current total indentation $indent = ''; # Current total indentation
( $dir, $file ) = ('',''); # Script's Directory and Filename ( $dir, $file ) = ('',''); # Script's Directory and Filename
$tempfile = ''; # Temporary File Name $tempfile = ''; # Temporary File Name
$sillyname = $sillyname =
$sillyname1 = ''; # Temporary ipchains $sillyname1 = ''; # Temporary ipchains
# #
# Misc Globals # Misc Globals
# #
%globals = ( SHAREDIR => '/usr/share/shorewall' , %globals = ( SHAREDIRPL => '/usr/share/shorewall/' ,
SHAREDIRPL => '/usr/share/shorewall/' ,
CONFDIR => '/etc/shorewall', # Run-time configuration directory CONFDIR => '/etc/shorewall', # Run-time configuration directory
CONFIGDIR => '', # Compile-time configuration directory (location of $product.conf) CONFIGDIR => '', # Compile-time configuration directory (location of $product.conf)
LOGPARMS => '', LOGPARMS => '',