forked from extern/shorewall_code
Ignore AUTOMAKE setting when a <directory> is given to start/restart
Signed-off-by: Tom Eastep <teastep@shorewall.net> git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9782 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
d950fa27f2
commit
180925173b
@ -105,6 +105,10 @@ None.
|
||||
script used during the last 'start' or 'restart' is used to
|
||||
start/restart the firewall.
|
||||
|
||||
Note that if a <directory> is specified in the start/restart
|
||||
command (e.g., "shorewall restart /etc/shorewall.new") then the
|
||||
setting of AUTOMAKE is ignored.
|
||||
|
||||
Note that the 'make' utility must be installed on the firewall
|
||||
system in order for AUTOMAKE=Yes to work correctly.
|
||||
|
||||
|
@ -491,6 +491,7 @@ start_command() {
|
||||
|
||||
SHOREWALL_DIR=$(resolve_file $1)
|
||||
export SHOREWALL_DIR
|
||||
AUTOMAKE=
|
||||
;;
|
||||
*)
|
||||
usage 1
|
||||
@ -785,6 +786,7 @@ restart_command() {
|
||||
SHOREWALL_DIR=$(resolve_file $1)
|
||||
[ -n "$FAST" ] && fatal_error "Directory may not be specified with the -f option"
|
||||
export SHOREWALL_DIR
|
||||
AUTOMAKE=
|
||||
;;
|
||||
*)
|
||||
usage 1
|
||||
|
@ -479,6 +479,7 @@ start_command() {
|
||||
|
||||
SHOREWALL_DIR=$(resolve_file $1)
|
||||
export SHOREWALL_DIR
|
||||
AUTOMAKE=
|
||||
;;
|
||||
*)
|
||||
usage 1
|
||||
@ -761,6 +762,7 @@ restart_command() {
|
||||
SHOREWALL_DIR=$(resolve_file $1)
|
||||
[ -n "$FAST" ] && fatal_error "Directory may not be specified with the -f option"
|
||||
export SHOREWALL_DIR
|
||||
AUTOMAKE=
|
||||
;;
|
||||
*)
|
||||
usage 1
|
||||
|
@ -252,6 +252,11 @@
|
||||
invoked, the behavior is as if the first line of the macro file was
|
||||
"COMMENT <macro name>". The AUTO_COMMENT option has a default
|
||||
value of 'Yes'.</para>
|
||||
|
||||
<para>The setting of the AUTOMAKE option is ignored if the
|
||||
<command>start</command> or <command>restart</command> command
|
||||
includes a directory name (e.g.,<command> shorewall restart
|
||||
/etc/shorewall.new</command>).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
@ -217,6 +217,11 @@
|
||||
skipped and the compiled script that executed the last
|
||||
<command>start</command> or <command>restart</command> command is
|
||||
used. The default is AUTOMAKE=No.</para>
|
||||
|
||||
<para>The setting of the AUTOMAKE option is ignored if the
|
||||
<command>start</command> or <command>restart</command> command
|
||||
includes a directory name (e.g.,<command> shorewall6 restart
|
||||
/etc/shorewall.new</command>).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user