add 'enabled' and 'disabled' to the Extension Script Article

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2017-08-02 15:44:48 -07:00
parent 6425e5ae5d
commit ec0e6763e4
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -234,6 +234,18 @@ cat -</programlisting>
can be used to augment or replace functions in the standard CLI can be used to augment or replace functions in the standard CLI
libraries.</para> libraries.</para>
</listitem> </listitem>
<listitem>
<para><filename>enabled</filename> -- Added in Shorewall 5.1.6.
Invoked when an optional interface or provider is successfully enabled
using the <command>enable</command> command.</para>
</listitem>
<listitem>
<para><filename>disabled</filename> -- Added in Shorewall 5.1.6.
Invoked when an optional interface or provider is successfully
disabled using the <command>disable</command> command.</para>
</listitem>
</itemizedlist> </itemizedlist>
<para><emphasis role="bold">If your version of Shorewall doesn't have the <para><emphasis role="bold">If your version of Shorewall doesn't have the
@ -274,6 +286,18 @@ cat -</programlisting>
<entry/> <entry/>
</row> </row>
<row>
<entry>disable</entry>
<entry>disable</entry>
</row>
<row>
<entry>enable</entry>
<entry>enable</entry>
</row>
<row> <row>
<entry>init</entry> <entry>init</entry>
@ -508,25 +532,37 @@ cat -</programlisting>
<row> <row>
<entry>initdone</entry> <entry>initdone</entry>
<entry>init</entry> <entry>disable</entry>
</row> </row>
<row> <row>
<entry>maclog</entry> <entry>maclog</entry>
<entry>isusable</entry> <entry>enable</entry>
</row> </row>
<row> <row>
<entry>Per-chain (including those associated with <entry>Per-chain (including those associated with
actions)</entry> actions)</entry>
<entry>start</entry> <entry>init</entry>
</row> </row>
<row> <row>
<entry>postcompile</entry> <entry>postcompile</entry>
<entry>isusable</entry>
</row>
<row>
<entry/>
<entry>start</entry>
</row>
<row>
<entry/>
<entry>started</entry> <entry>started</entry>
</row> </row>