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
..
2016-06-02 19:06:04 +00:00
ccd
2016-04-24 12:07:44 +00:00
ddb
2018-04-19 15:02:53 +00:00
2016-05-15 06:00:13 +00:00
2015-06-27 18:01:50 +00:00
2017-07-18 14:02:02 +00:00
2017-07-05 20:00:58 +00:00
2017-07-08 09:28:31 +00:00
2016-05-29 02:59:03 +00:00
2017-07-08 09:28:31 +00:00
2017-05-27 06:24:06 +00:00
2017-07-08 09:28:31 +00:00
2017-05-03 08:10:03 +00:00
2017-01-28 02:22:15 +00:00
2016-06-06 03:55:00 +00:00
2016-05-28 17:43:40 +00:00