Shorewall[6]/Makefile: remove extra restore, shorewall does that automatically

Signed-off-by: Tuomo Soini <tis@foobar.fi>
This commit is contained in:
Tuomo Soini 2016-02-12 18:17:37 +02:00
parent 660ae09f4f
commit daa016d2a3
2 changed files with 0 additions and 4 deletions

View File

@ -2,7 +2,6 @@
# Shorewall -- /etc/shorewall/Makefile
#
# Reload Shorewall if config files are updated.
# If reloading fails, restore old settings.
SWBIN ?= /sbin/shorewall -q
CONFDIR ?= /etc/shorewall
@ -16,7 +15,6 @@ $(SWSTATE): $(CONFDIR)/*
if [ $$? -eq 0 ]; then \
$(SWBIN) save >/dev/null; \
else \
$(SWBIN) restore >/dev/null 2>&1; \
echo "$${RESULT}" >&2; \
false; \
fi

View File

@ -2,7 +2,6 @@
# Shorewall6 -- /etc/shorewall6/Makefile
#
# Reload Shorewall6 if config files are updated.
# If reloading fails, restore old settings.
SWBIN ?= /sbin/shorewall6 -q
CONFDIR ?= /etc/shorewall6
@ -16,7 +15,6 @@ $(SWSTATE): $(CONFDIR)/*
if [ $$? -eq 0 ]; then \
$(SWBIN) save >/dev/null; \
else \
$(SWBIN) restore >/dev/null 2>&1; \
echo "$${RESULT}" >&2; \
false; \
fi