mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 06:10:42 +01:00
Document postcompile
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
d71c2688dc
commit
670ecb203b
@ -220,6 +220,13 @@ esac</programlisting><caution>
|
|||||||
<programlisting>#! /bin/sh
|
<programlisting>#! /bin/sh
|
||||||
cat -</programlisting>
|
cat -</programlisting>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para><filename>postcompile</filename> -- Added in Shorewall 4.5.8.
|
||||||
|
This shell script is invoked by<emphasis role="bold">
|
||||||
|
/sbin/shorewall</emphasis> after a script has been compiled. $1 is the
|
||||||
|
path name of the compiled script.</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
|
||||||
@ -284,6 +291,13 @@ cat -</programlisting>
|
|||||||
<entry>check, compile, export, refresh, restart, start</entry>
|
<entry>check, compile, export, refresh, restart, start</entry>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry>postcompile</entry>
|
||||||
|
|
||||||
|
<entry>compile, export, load, refresh, reload, restart, restore,
|
||||||
|
start</entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
<entry>refresh</entry>
|
<entry>refresh</entry>
|
||||||
|
|
||||||
@ -498,7 +512,7 @@ cat -</programlisting>
|
|||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
<entry></entry>
|
<entry>postcompile</entry>
|
||||||
|
|
||||||
<entry>started</entry>
|
<entry>started</entry>
|
||||||
</row>
|
</row>
|
||||||
@ -548,10 +562,11 @@ cat -</programlisting>
|
|||||||
</tgroup>
|
</tgroup>
|
||||||
</informaltable></para>
|
</informaltable></para>
|
||||||
|
|
||||||
<para>Compile-time extension scripts are executed using the Perl 'eval
|
<para>With the exception of postcompile, compile-time extension scripts
|
||||||
`cat <<emphasis>file</emphasis>>`' mechanism. Be sure that each
|
are executed using the Perl 'eval `cat
|
||||||
script returns a 'true' value; otherwise, the compiler will assume that
|
<<emphasis>file</emphasis>>`' mechanism. Be sure that each script
|
||||||
the script failed and will abort the compilation.</para>
|
returns a 'true' value; otherwise, the compiler will assume that the
|
||||||
|
script failed and will abort the compilation.</para>
|
||||||
|
|
||||||
<para>Each compile-time script is implicitly prefaced with:</para>
|
<para>Each compile-time script is implicitly prefaced with:</para>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user