forked from extern/shorewall_code
Shorewall[6]/Makefile: remove extra restore, shorewall does that automatically
Signed-off-by: Tuomo Soini <tis@foobar.fi>
This commit is contained in:
parent
660ae09f4f
commit
daa016d2a3
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user