From d1bf397545ead733698ba06b43d992a34fbfa61b Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 8 Jan 2006 16:30:58 +0000 Subject: [PATCH] Add more progress messages to generated script git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3261 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/firewall | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Shorewall/firewall b/Shorewall/firewall index 3422a7318..4b52c12df 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -5153,6 +5153,9 @@ process_actions3() { xaction1=$1 xlevel=$2 xtag=$3 + + [ $COMMAND = generate ] && save_progress_message "Creating action chain $xaction1" + # # Handle Builtin actions # @@ -5277,8 +5280,6 @@ process_actions3() { echo "Processing $(find_file $f) for Chain $xchain..." - [ $COMMAND = generate ] && save_progress_message "Creating action Chain $xchain..." - while read xtarget xclients xservers xprotocol xports xcports xratelimit xuserspec; do expandv xtarget # @@ -7885,13 +7886,14 @@ initialize_netfilter () { [ -n "$DISABLE_IPV6" ] && disable_ipv6 + [ $COMMAND = generate ] && save_progress_message "Enabling Loopback and DNS Lookups" + # # Enable the Loopback interface for now # run_iptables -A INPUT -i lo -j ACCEPT run_iptables -A OUTPUT -o lo -j ACCEPT - # # Allow DNS lookups during startup for FQDNs #