dip

old school recipes for janitorial snafu.
git clone git://git.ricketyspace.net/dip.git
Log | Files | Refs

commit 50b5980e9ff8eaf07bb22ff53bee32ab36c73077
parent 2ab7e249f06cc0f565773e22c950cc7a6a7a7433
Author: rsiddharth <s@ricketyspace.net>
Date:   Mon, 25 Mar 2019 05:02:07 -0400

Makefile: Add pf.

Diffstat:
Makefile | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -60,6 +60,15 @@ sysctl: rsync -a ${SYSCTL_CONF} /${SYSCTL_CONF} .PHONY: sysctl +# pf baby. +PF_CONF=etc/pf.conf +pf: + while read line; do \ + grep -q "$$line" /${PF_CONF} || \ + echo $$line >> /${PF_CONF}; \ + done <${PF_CONF} +.PHONY: pf + # Provision exports exports: rsync -a etc/exports /etc/exports