Kristof Provost fa1d4439f9 pf: Return non-zero from 'status' if pf is not enabled
In the pf rc.d script the output of `/etc/rc.d/pf status` or `/etc/rc.d/pf
onestatus` always provided an exit status of zero. This made it fiddly to
programmatically determine if pf was running or not.

Return a non-zero status if the pf module is not loaded, extend pfctl to have
an option to return an error status if pf is not enabled.

PR:		228632
Submitted by:	James Park-Watt <jimmypw AT gmail.com>
MFC after:	1 week
2018-06-06 19:36:37 +00:00
..
2018-05-21 21:44:47 +00:00
2016-01-27 06:28:56 +00:00
2017-10-06 08:43:14 +00:00
2017-12-02 06:23:02 +00:00
2017-10-29 08:17:03 +00:00
2016-05-01 16:43:22 +00:00
rc
2018-02-06 20:12:05 +00:00
rpc
2017-12-31 17:11:12 +00:00