mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-21 23:23:13 +01:00
shorewall6/Makefile: fix to use reload instead of restart
Signed-off-by: Tuomo Soini <tis@foobar.fi>
This commit is contained in:
parent
a97b0194c1
commit
48c654fbed
@ -8,11 +8,11 @@ all: $(VARDIR)/$(RESTOREFILE)
|
||||
$(VARDIR)/$(RESTOREFILE): $(CONFDIR)/*
|
||||
@/sbin/shorewall6 -q save >/dev/null; \
|
||||
if \
|
||||
/sbin/shorewall6 -q restart >/dev/null 2>&1; \
|
||||
/sbin/shorewall6 -q reload >/dev/null 2>&1; \
|
||||
then \
|
||||
/sbin/shorewall6 -q save >/dev/null; \
|
||||
else \
|
||||
/sbin/shorewall6 -q restart 2>&1 | tail >&2; exit 1; \
|
||||
/sbin/shorewall6 -q reload 2>&1 | tail >&2; exit 1; \
|
||||
fi
|
||||
|
||||
clean:
|
||||
|
Loading…
Reference in New Issue
Block a user