mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-25 09:03:30 +01:00
Clarify isusable and persistent providers
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
2f5687c65a
commit
708644f7c9
@ -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>###############################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user