From 8918814a890edebaf716a4ce0f16e2bea87c0295 Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 3 Nov 2006 19:10:58 +0000 Subject: [PATCH] Rearrange some messages and update required lib version git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4789 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/compiler | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/Shorewall/compiler b/Shorewall/compiler index 8a4e42658..441b82800 100755 --- a/Shorewall/compiler +++ b/Shorewall/compiler @@ -4913,6 +4913,8 @@ compile_firewall() # $1 = File Name run_iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS $option } + progress_message2 "Initializing..." + # # So that mktempdir doesn't have to jump through hoops when there isn't a working 'mktemp', # we create the compiler's temporary directory in TMP_DIR @@ -5126,7 +5128,7 @@ __EOF__ local version=\$(cat \${SHAREDIR}/version) - if [ \${SHOREWALL_LIBVERSION:-0} -lt 30200 ]; then + if [ \${SHOREWALL_LIBVERSION:-0} -lt 30203 ]; then fatal_error "This script requires Shorewall version 3.3.3 or later; current version is \$version" fi # @@ -5193,8 +5195,6 @@ __EOF__ } __EOF__ - progress_message2 "Initializing..." - report_capabilities if [ -n "$BRIDGING" ]; then @@ -5272,14 +5272,10 @@ __EOF__ INDENT=" " - cat >&3 << __EOF__ - - load_kernel_modules - -__EOF__ - save_progress_message "Initializing..." + save_command load_kernel_modules + for interface in $ALL_INTERFACES; do if interface_has_option $interface norfc1918; then indent >&3 << __EOF__