diff --git a/Shorewall-docs2/shorewall_extension_scripts.xml b/Shorewall-docs2/shorewall_extension_scripts.xml index cccb6eec6..630da7dd2 100644 --- a/Shorewall-docs2/shorewall_extension_scripts.xml +++ b/Shorewall-docs2/shorewall_extension_scripts.xml @@ -15,7 +15,7 @@ - 2005-09-11 + 2005-10-31 2001-2005 @@ -224,9 +224,18 @@ + + + Many of the extension scripts get executed for both the shorewall + start and shorewall restart commands. You can determine which command is + being executed using the contents of $COMMAND. + + if [ $COMMAND = start ]; then + ... + - You can also define a common action to be + You can also define a common action to be performed immediately before a policy of ACCEPT, DROP or REJECT is applied. Separate actions can be assigned to each policy type so for example you can have a different common action for DROP