mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-09 14:29:20 +01:00
Add info about COMMAND
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2938 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
53ae3fc6e0
commit
a91d24d65f
@ -15,7 +15,7 @@
|
|||||||
</author>
|
</author>
|
||||||
</authorgroup>
|
</authorgroup>
|
||||||
|
|
||||||
<pubdate>2005-09-11</pubdate>
|
<pubdate>2005-10-31</pubdate>
|
||||||
|
|
||||||
<copyright>
|
<copyright>
|
||||||
<year>2001-2005</year>
|
<year>2001-2005</year>
|
||||||
@ -224,6 +224,15 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>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.</para>
|
||||||
|
|
||||||
|
<programlisting>if [ $COMMAND = start ]; then
|
||||||
|
...</programlisting>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<para>You can also define a <emphasis>common action</emphasis> to be
|
<para>You can also define a <emphasis>common action</emphasis> to be
|
||||||
|
Loading…
Reference in New Issue
Block a user