mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-26 17:43:15 +01:00
More documentation about compiling to STDOUT
This commit is contained in:
parent
4f3189477a
commit
c937d3b1c0
@ -129,13 +129,17 @@ None.
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
shorewall compile -- - # Compile the configuration in
|
shorewall compile -v-1 -- - # Compile the configuration in
|
||||||
# /etc/shorewall and send the
|
# /etc/shorewall and send the
|
||||||
# output to STDOUT
|
# output to STDOUT
|
||||||
shorewall compile . - # Compile the configuration in the
|
shorewall compile -v-1 . - # Compile the configuration in the
|
||||||
# current working directory
|
# current working directory
|
||||||
# and send the output to STDOUT
|
# and send the output to STDOUT
|
||||||
|
|
||||||
|
Note that the '-v-1' suppresses the 'Compiling...' message normally
|
||||||
|
issued by /sbin/shorewall (/sbin/shorewall6) when a compilation
|
||||||
|
begins.
|
||||||
|
|
||||||
3) Supplying an interface name in the SOURCE column of
|
3) Supplying an interface name in the SOURCE column of
|
||||||
/etc/shorewall/masq is now deprecated. Entering the name of an
|
/etc/shorewall/masq is now deprecated. Entering the name of an
|
||||||
interface there will result in a compile-time warning.
|
interface there will result in a compile-time warning.
|
||||||
|
@ -720,7 +720,12 @@
|
|||||||
will look in that directory first for configuration files. If the
|
will look in that directory first for configuration files. If the
|
||||||
<emphasis>pathname</emphasis> is omitted, the file
|
<emphasis>pathname</emphasis> is omitted, the file
|
||||||
<filename>firewall</filename> in the VARDIR (normally <filename
|
<filename>firewall</filename> in the VARDIR (normally <filename
|
||||||
class="directory">/var/lib/shorewall/</filename>) is assumed.</para>
|
class="directory">/var/lib/shorewall/</filename>) is assumed. A
|
||||||
|
<emphasis>pathname</emphasis> of '-' causes the compiler to send the
|
||||||
|
generated script to it's standard output file. Note that '-v-1' is
|
||||||
|
usually specified in this case (e.g., <command>shorewall -v-1
|
||||||
|
compile -- -</command>) to suppress the 'Compiling...' message
|
||||||
|
normally generated by <filename>/sbin/shorewall</filename>.</para>
|
||||||
|
|
||||||
<para>When -e is specified, the compilation is being performed on a
|
<para>When -e is specified, the compilation is being performed on a
|
||||||
system other than where the compiled script will run. This option
|
system other than where the compiled script will run. This option
|
||||||
|
@ -575,7 +575,12 @@
|
|||||||
Shorewall6 will look in that directory first for configuration
|
Shorewall6 will look in that directory first for configuration
|
||||||
files. If the <emphasis>pathname</emphasis> is omitted, the file
|
files. If the <emphasis>pathname</emphasis> is omitted, the file
|
||||||
firewall in the VARDIR (normally <filename
|
firewall in the VARDIR (normally <filename
|
||||||
class="directory">/var/lib/shorewall/</filename>) is assumed.</para>
|
class="directory">/var/lib/shorewall/</filename>) is assumed. A
|
||||||
|
<emphasis>pathname</emphasis> of '-' causes the compiler to send the
|
||||||
|
generated script to it's standard output file. Note that '-v-1' is
|
||||||
|
usually specified in this case (e.g., <command>shorewall6 -v-1
|
||||||
|
compile -- -</command>) to suppress the 'Compiling...' message
|
||||||
|
normally generated by <filename>/sbin/shorewall6</filename>.</para>
|
||||||
|
|
||||||
<para>When -e is specified, the compilation is being performed on a
|
<para>When -e is specified, the compilation is being performed on a
|
||||||
system other than where the compiled script will run. This option
|
system other than where the compiled script will run. This option
|
||||||
|
Loading…
Reference in New Issue
Block a user