Clarify isusable and persistent providers

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2017-06-21 14:26:11 -07:00
parent 2f5687c65a
commit 708644f7c9
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -2246,14 +2246,6 @@ net eth1 detect <emphasis role="bold">optional</emphasis><
contains the link configurations. That file is included by contains the link configurations. That file is included by
<filename>/etc/foolsm/foolsm.conf</filename>.</para> <filename>/etc/foolsm/foolsm.conf</filename>.</para>
</listitem> </listitem>
<listitem>
<para>The script run by FOOLSM during state change
(<filename>/etc/foolsm/script) </filename>writes a<filename>
${VARDIR}/xxx.status</filename> file when the status of an
interface changes. Those files are read by the
<filename>isusable</filename> extension script (see below).</para>
</listitem>
</itemizedlist> </itemizedlist>
<para>Below are my relevant configuration files.</para> <para>Below are my relevant configuration files.</para>
@ -2278,6 +2270,11 @@ COM_IF=eth1</programlisting>
return $status</programlisting> return $status</programlisting>
<para>Note that the above script overrides the normal behavior of
<emphasis>persistent</emphasis> providers, in that it prevents the
attempt to enable the provider during <command>start</command>,
<command>restart</command> and <command>reload</command>.</para>
<para><filename>/etc/shorewall/lib.private</filename>:</para> <para><filename>/etc/shorewall/lib.private</filename>:</para>
<programlisting>############################################################################### <programlisting>###############################################################################