Compare commits

...

3 Commits

Author SHA1 Message Date
Tuomo Soini
48c654fbed shorewall6/Makefile: fix to use reload instead of restart
Signed-off-by: Tuomo Soini <tis@foobar.fi>
2015-10-11 11:08:32 +03:00
Tuomo Soini
a97b0194c1 shorewall6.conf: remove #LAST LINE - DO NOT REMOVE - shorewall.conf doesn't have this
Signed-off-by: Tuomo Soini <tis@foobar.fi>
2015-10-11 11:01:45 +03:00
Tuomo Soini
f84214c8da shorewall[6].conf.xml: fix LEGACY_RESTART entry
Signed-off-by: Tuomo Soini <tis@foobar.fi>
2015-10-11 10:52:52 +03:00
8 changed files with 6 additions and 16 deletions

View File

@@ -1157,10 +1157,10 @@ net all DROP info</programlisting>then the chain name is 'net-all'
releases and <emphasis role="bold">restart</emphasis> became a true releases and <emphasis role="bold">restart</emphasis> became a true
restart (equivalent to <emphasis role="bold">stop</emphasis> restart (equivalent to <emphasis role="bold">stop</emphasis>
followed by <emphasis role="bold">start</emphasis>). When followed by <emphasis role="bold">start</emphasis>). When
LEGACY_FASTSTART=Yes, the <emphasis role="bold">restart</emphasis> LEGACY_RESTART=Yes, the <emphasis role="bold">restart</emphasis>
command performs the same operation as the <emphasis command performs the same operation as the <emphasis
role="bold">reload</emphasis> command making it compatible with role="bold">reload</emphasis> command making it compatible with
earlier releases. If not specified, LAGACY_RESTART=No is earlier releases. If not specified, LEGACY_RESTART=No is
assumed.</para> assumed.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>

View File

@@ -8,11 +8,11 @@ all: $(VARDIR)/$(RESTOREFILE)
$(VARDIR)/$(RESTOREFILE): $(CONFDIR)/* $(VARDIR)/$(RESTOREFILE): $(CONFDIR)/*
@/sbin/shorewall6 -q save >/dev/null; \ @/sbin/shorewall6 -q save >/dev/null; \
if \ if \
/sbin/shorewall6 -q restart >/dev/null 2>&1; \ /sbin/shorewall6 -q reload >/dev/null 2>&1; \
then \ then \
/sbin/shorewall6 -q save >/dev/null; \ /sbin/shorewall6 -q save >/dev/null; \
else \ else \
/sbin/shorewall6 -q restart 2>&1 | tail >&2; exit 1; \ /sbin/shorewall6 -q reload 2>&1 | tail >&2; exit 1; \
fi fi
clean: clean:

View File

@@ -248,5 +248,3 @@ PROVIDER_OFFSET=
MASK_BITS= MASK_BITS=
ZONE_BITS=0 ZONE_BITS=0
#LAST LINE -- DO NOT REMOVE

View File

@@ -249,5 +249,3 @@ PROVIDER_OFFSET=
MASK_BITS= MASK_BITS=
ZONE_BITS=0 ZONE_BITS=0
#LAST LINE -- DO NOT REMOVE

View File

@@ -248,5 +248,3 @@ PROVIDER_OFFSET=
MASK_BITS= MASK_BITS=
ZONE_BITS=0 ZONE_BITS=0
#LAST LINE -- DO NOT REMOVE

View File

@@ -248,5 +248,3 @@ PROVIDER_OFFSET=
MASK_BITS= MASK_BITS=
ZONE_BITS=0 ZONE_BITS=0
#LAST LINE -- DO NOT REMOVE

View File

@@ -248,5 +248,3 @@ PROVIDER_OFFSET=
MASK_BITS= MASK_BITS=
ZONE_BITS=0 ZONE_BITS=0
#LAST LINE -- DO NOT REMOVE

View File

@@ -1021,10 +1021,10 @@ net all DROP info</programlisting>then the chain name is 'net-all'
releases and <emphasis role="bold">restart</emphasis> became a true releases and <emphasis role="bold">restart</emphasis> became a true
restart (equivalent to <emphasis role="bold">stop</emphasis> restart (equivalent to <emphasis role="bold">stop</emphasis>
followed by <emphasis role="bold">start</emphasis>). When followed by <emphasis role="bold">start</emphasis>). When
LEGACY_FASTSTART=Yes, the <emphasis role="bold">restart</emphasis> LEGACY_RESTART=Yes, the <emphasis role="bold">restart</emphasis>
command performs the same operation as the reload command making it command performs the same operation as the reload command making it
compatible with earlier releases. If not specified, compatible with earlier releases. If not specified,
LAGACY_RESTART=No is assumed.</para> LEGACY_RESTART=No is assumed.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>