mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 06:10:42 +01:00
Correct Makefiles
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
baa1a2983b
commit
a32ce5c34a
@ -3,9 +3,9 @@ VARDIR=$(shell /sbin/shorewall-lite show vardir)
|
|||||||
SHAREDIR=/usr/share/shorewall-lite
|
SHAREDIR=/usr/share/shorewall-lite
|
||||||
RESTOREFILE?=.restore
|
RESTOREFILE?=.restore
|
||||||
|
|
||||||
all: $(VARDIR)/${RESTOREFILE}
|
all: $(VARDIR)/$(RESTOREFILE)
|
||||||
|
|
||||||
$(VARDIR)/${RESTOREFILE}: $(VARDIR)/firewall
|
$(VARDIR)/$(RESTOREFILE): $(VARDIR)/firewall
|
||||||
@/sbin/shorewall-lite -q save >/dev/null; \
|
@/sbin/shorewall-lite -q save >/dev/null; \
|
||||||
if \
|
if \
|
||||||
/sbin/shorewall-lite -q restart >/dev/null 2>&1; \
|
/sbin/shorewall-lite -q restart >/dev/null 2>&1; \
|
||||||
|
@ -3,9 +3,9 @@ VARDIR=$(shell /sbin/shorewall show vardir)
|
|||||||
CONFDIR=/etc/shorewall
|
CONFDIR=/etc/shorewall
|
||||||
RESTOREFILE?=firewall
|
RESTOREFILE?=firewall
|
||||||
|
|
||||||
all: $(VARDIR)/${RESTOREFILE}
|
all: $(VARDIR)/$(RESTOREFILE)
|
||||||
|
|
||||||
$(VARDIR)/${RESTOREFILE}: $(CONFDIR)/*
|
$(VARDIR)/$(RESTOREFILE): $(CONFDIR)/*
|
||||||
@/sbin/shorewall -q save >/dev/null; \
|
@/sbin/shorewall -q save >/dev/null; \
|
||||||
if \
|
if \
|
||||||
/sbin/shorewall -q restart >/dev/null 2>&1; \
|
/sbin/shorewall -q restart >/dev/null 2>&1; \
|
||||||
|
@ -3,9 +3,9 @@ VARDIR=$(shell /sbin/shorewall6-lite show vardir)
|
|||||||
SHAREDIR=/usr/share/shorewall6-lite
|
SHAREDIR=/usr/share/shorewall6-lite
|
||||||
RESTOREFILE?=.restore
|
RESTOREFILE?=.restore
|
||||||
|
|
||||||
all: $(VARDIR)/${RESTOREFILE}
|
all: $(VARDIR)/$(RESTOREFILE)
|
||||||
|
|
||||||
$(VARDIR)/${RESTOREFILE}: $(VARDIR)/firewall
|
$(VARDIR)/$(RESTOREFILE): $(VARDIR)/firewall
|
||||||
@/sbin/shorewall6-lite -q save >/dev/null; \
|
@/sbin/shorewall6-lite -q save >/dev/null; \
|
||||||
if \
|
if \
|
||||||
/sbin/shorewall6-lite -q restart >/dev/null 2>&1; \
|
/sbin/shorewall6-lite -q restart >/dev/null 2>&1; \
|
||||||
|
@ -3,9 +3,9 @@ VARDIR=$(shell /sbin/shorewall6 show vardir)
|
|||||||
CONFDIR=/etc/shorewall6
|
CONFDIR=/etc/shorewall6
|
||||||
RESTOREFILE?=firewall
|
RESTOREFILE?=firewall
|
||||||
|
|
||||||
all: $(VARDIR)/${RESTOREFILE}
|
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 restart >/dev/null 2>&1; \
|
||||||
|
Loading…
Reference in New Issue
Block a user