More documentation about compiling to STDOUT

This commit is contained in:
Tom Eastep 2009-05-01 11:38:52 -07:00
parent 4f3189477a
commit c937d3b1c0
3 changed files with 22 additions and 8 deletions

View File

@ -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.

View File

@ -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

View File

@ -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