mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 06:38:53 +01:00
Don't export CONFDIR or SHAREDIR
Document CONFDIR, SHAREDIR and VARDIR Add FILEMODE to the old reserved variable names Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
a4414a9695
commit
a963c8f955
@ -1208,8 +1208,6 @@ run_it() {
|
|||||||
local options
|
local options
|
||||||
local version
|
local version
|
||||||
|
|
||||||
export CONFDIR
|
|
||||||
export SHAREDIR
|
|
||||||
export VARDIR
|
export VARDIR
|
||||||
|
|
||||||
script=$1
|
script=$1
|
||||||
|
@ -1059,8 +1059,6 @@ run_it() {
|
|||||||
local options
|
local options
|
||||||
local version
|
local version
|
||||||
|
|
||||||
export CONFDIR
|
|
||||||
export SHAREDIR
|
|
||||||
export VARDIR
|
export VARDIR
|
||||||
|
|
||||||
script=$1
|
script=$1
|
||||||
|
@ -69,8 +69,6 @@ run_it() {
|
|||||||
local options
|
local options
|
||||||
local version
|
local version
|
||||||
|
|
||||||
export CONFDIR
|
|
||||||
export SHAREDIR
|
|
||||||
export VARDIR
|
export VARDIR
|
||||||
|
|
||||||
script=$1
|
script=$1
|
||||||
|
@ -69,8 +69,6 @@ run_it() {
|
|||||||
local options
|
local options
|
||||||
local version
|
local version
|
||||||
|
|
||||||
export CONFDIR
|
|
||||||
export SHAREDIR
|
|
||||||
export VARDIR
|
export VARDIR
|
||||||
|
|
||||||
script=$1
|
script=$1
|
||||||
|
@ -635,6 +635,8 @@ SHELL cat /etc/shorewall/rules.d/*.rules</programlisting></para>
|
|||||||
|
|
||||||
<member>FAST</member>
|
<member>FAST</member>
|
||||||
|
|
||||||
|
<member>FILEMODE</member>
|
||||||
|
|
||||||
<member>HOSTNAME</member>
|
<member>HOSTNAME</member>
|
||||||
|
|
||||||
<member>IPT_OPTIONS</member>
|
<member>IPT_OPTIONS</member>
|
||||||
|
@ -391,6 +391,41 @@ esac</programlisting><caution>
|
|||||||
<programlisting>if [ $COMMAND = start ]; then
|
<programlisting>if [ $COMMAND = start ]; then
|
||||||
...</programlisting>
|
...</programlisting>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>In addition to COMMAND, Shorewall defines three other variables
|
||||||
|
that may be used for locating Shorewall files:</para>
|
||||||
|
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>CONFDIR - The configuration directory. Will be <filename
|
||||||
|
class="directory">/etc/shorewall</filename>, <filename
|
||||||
|
class="directory">/etc/shorewall6/</filename>, <filename
|
||||||
|
class="directory">/etc/shorewall-lite</filename>, or <filename
|
||||||
|
class="directory">/etc/shorewall6-lite</filename> depending on
|
||||||
|
which product is running.</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>SHAREDIR - The product shared directory. Will be <filename
|
||||||
|
class="directory">/usr/share/shorewall</filename>, <filename
|
||||||
|
class="directory">/usr/share/shorewall6/</filename>, <filename
|
||||||
|
class="directory">/usr/share/shorewall-lite</filename>, or
|
||||||
|
<filename class="directory">/usr/share/shorewall6-lite</filename>
|
||||||
|
depending on which product is running.</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>VAREDIR - The product state directory. Defaults <filename
|
||||||
|
class="directory">/usr/share/shorewall</filename>, <filename
|
||||||
|
class="directory">/usr/share/shorewall6/</filename>, <filename
|
||||||
|
class="directory">/usr/share/shorewall-lite</filename>, or
|
||||||
|
<filename class="directory">/usr/share/shorewall6-lite</filename>
|
||||||
|
depending on which product is running, but may be overridden by an
|
||||||
|
entry in ${CONFDIR}/vardir.</para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<para></para>
|
<para></para>
|
||||||
|
@ -52,6 +52,8 @@
|
|||||||
|
|
||||||
<member>FAST</member>
|
<member>FAST</member>
|
||||||
|
|
||||||
|
<member>FILEMODE</member>
|
||||||
|
|
||||||
<member>HOSTNAME</member>
|
<member>HOSTNAME</member>
|
||||||
|
|
||||||
<member>IPT_OPTIONS</member>
|
<member>IPT_OPTIONS</member>
|
||||||
|
@ -53,6 +53,8 @@
|
|||||||
|
|
||||||
<member>FAST</member>
|
<member>FAST</member>
|
||||||
|
|
||||||
|
<member>FILEMODE</member>
|
||||||
|
|
||||||
<member>HOSTNAME</member>
|
<member>HOSTNAME</member>
|
||||||
|
|
||||||
<member>IPT_OPTIONS</member>
|
<member>IPT_OPTIONS</member>
|
||||||
|
Loading…
Reference in New Issue
Block a user