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"