From 7a7597466d690f798eabfc9f5d4963c9b3e992be Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 5 Dec 2003 20:34:01 +0000 Subject: [PATCH] Clean up Action Change git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@806 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/firewall | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Shorewall/firewall b/Shorewall/firewall index ea1dfb99b..e780a0ac2 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -2276,7 +2276,7 @@ add_an_action() } # -# Process a record from the rules file for the 'start', 'restart' or 'check' commands +# Process a record from an action file for the 'start', 'restart' or 'check' commands # process_action() # $1 = target # $2 = clients @@ -2383,6 +2383,11 @@ process_action() # $1 = target fi } +# +# Read /etc/shorewall/actions and for each defined , process +# /etc/shorewall/action. +# + process_actions() { # # Process a rule where the source or destination is "all"