pf (230099) | pf (297315) |
---|---|
1#!/bin/sh 2# | 1#!/bin/sh 2# |
3# $FreeBSD: head/etc/rc.d/pf 230099 2012-01-14 02:18:41Z dougb $ | 3# $FreeBSD: head/etc/rc.d/pf 297315 2016-03-27 17:22:27Z kp $ |
4# 5 6# PROVIDE: pf 7# REQUIRE: FILESYSTEMS netif pflog pfsync 8# BEFORE: routing 9# KEYWORD: nojail 10 11. /etc/rc.subr --- 49 unchanged lines hidden (view full) --- 61 62pf_resync() 63{ 64 $pf_program -f "$pf_rules" $pf_flags 65} 66 67pf_status() 68{ | 4# 5 6# PROVIDE: pf 7# REQUIRE: FILESYSTEMS netif pflog pfsync 8# BEFORE: routing 9# KEYWORD: nojail 10 11. /etc/rc.subr --- 49 unchanged lines hidden (view full) --- 61 62pf_resync() 63{ 64 $pf_program -f "$pf_rules" $pf_flags 65} 66 67pf_status() 68{ |
69 $pf_program -s info | 69 if ! [ -c /dev/pf ] ; then 70 echo "pf.ko is not loaded" 71 else 72 $pf_program -s info 73 fi |
70} 71 72run_rc_command "$1" | 74} 75 76run_rc_command "$1" |