blob: 9ec9961fe587b14adce56d203e9b0bf593e846ae (
plain) (
tree)
|
|
#!/bin/sh
if [ "$enable_pf" != true ]; then
return
fi
# Enable pf.
sysrc -v pf_enable=YES
# Copy pf configuration.
install_template -m 0600 /etc/pf.conf
# Start (or reload) pf.
service pf status > /dev/null || service pf start
service pf reload
|