mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 16:54:10 +01:00
More documentation about compiling to STDOUT
This commit is contained in:
parent
4f3189477a
commit
c937d3b1c0
@ -129,13 +129,17 @@ None.
|
||||
|
||||
Examples:
|
||||
|
||||
shorewall compile -- - # Compile the configuration in
|
||||
shorewall compile -v-1 -- - # Compile the configuration in
|
||||
# /etc/shorewall and send the
|
||||
# output to STDOUT
|
||||
shorewall compile . - # Compile the configuration in the
|
||||
shorewall compile -v-1 . - # Compile the configuration in the
|
||||
# current working directory
|
||||
# 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
|
||||
/etc/shorewall/masq is now deprecated. Entering the name of an
|
||||
interface there will result in a compile-time warning.
|
||||
|
@ -720,7 +720,12 @@
|
||||
will look in that directory first for configuration files. If the
|
||||
<emphasis>pathname</emphasis> is omitted, the file
|
||||
<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
|
||||
system other than where the compiled script will run. This option
|
||||
|
@ -575,7 +575,12 @@
|
||||
Shorewall6 will look in that directory first for configuration
|
||||
files. If the <emphasis>pathname</emphasis> is omitted, the file
|
||||
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
|
||||
system other than where the compiled script will run. This option
|
||||
|
Loading…
Reference in New Issue
Block a user