mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 08:44:05 +01:00
Clarify how Shorewall-shell works with 'restore'
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9416 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
f8fdfcfa9e
commit
04691679bc
@ -87,12 +87,14 @@
|
||||
|
||||
<listitem>
|
||||
<para><filename>start</filename> -- invoked after the firewall has
|
||||
been started or restarted.</para>
|
||||
been started or restarted. The script is also invoked by
|
||||
Shorewall-shell after a successful 'restore'.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><filename>started</filename> -- invoked after the firewall has
|
||||
been marked as 'running'.</para>
|
||||
been marked as 'running'. The script is also invoked by
|
||||
Shorewall-shell after a successful 'restore'.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
@ -214,7 +216,12 @@ esac</programlisting><caution>
|
||||
<command>run_iptables</command> will run the iptables utility passing
|
||||
the arguments to <command>run_iptables</command> and if the command
|
||||
fails, the firewall will be stopped (or restored from the last
|
||||
<command>save</command> command, if any).</para>
|
||||
<command>save</command> command, if any). Note that when
|
||||
Shorewall-shell invokes this script during <command>restore</command>,
|
||||
The <command>run_iptables</command> function does nothing; calls to
|
||||
that function are effectively ignored. <command>run_iptables</command>
|
||||
should not be called from the <filename>started</filename> or
|
||||
<filename>restored</filename> scripts.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
@ -420,6 +427,12 @@ esac</programlisting><caution>
|
||||
|
||||
<entry>refreshed</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry></entry>
|
||||
|
||||
<entry>restored</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable></para>
|
||||
|
Loading…
Reference in New Issue
Block a user