#!/bin/sh # save all persistent tables for a reboot - sorry 30 day guys, you get re-added if we restarted.. ner ner ner grep table /etc/pf.conf | grep "persist file" | sed "s///g" | awk '{print "pfctl -t "$2" -T show | tr -cs \"[:graph:]\" \"\\n\" > "$5}' | sh