diff --git a/Shorewall-lite/Makefile b/Shorewall-lite/Makefile index b61cd248a..6dbd0d90c 100644 --- a/Shorewall-lite/Makefile +++ b/Shorewall-lite/Makefile @@ -2,9 +2,11 @@ VARDIR=/var/lib/shorewall-lite SHAREDIR=/usr/share/shorewall-lite RESTOREFILE?=.restore +include $(SHAREDIR)/configpath + all: $(VARDIR)/${RESTOREFILE} -$(VARDIR)/${RESTOREFILE}: $(VARDIR)/firewall +$(VARDIR)/${RESTOREFILE}: $(LITEDIR)/firewall @/sbin/shorewall-lite -q save >/dev/null; \ if \ /sbin/shorewall-lite -q restart >/dev/null 2>&1; \