1#!/bin/sh 2#
| 1#!/bin/sh 2#
|
3# $FreeBSD: head/etc/rc.d/pf 216499 2010-12-17 09:38:55Z kevlo $
| 3# $FreeBSD: head/etc/rc.d/pf 222007 2011-05-17 07:40:13Z hrs $
|
4# 5 6# PROVIDE: pf 7# REQUIRE: FILESYSTEMS netif pflog pfsync 8# BEFORE: routing 9# KEYWORD: nojail 10 11. /etc/rc.subr 12 13name="pf" 14rcvar=`set_rcvar` 15load_rc_config $name 16start_cmd="pf_start" 17stop_cmd="pf_stop" 18check_cmd="pf_check" 19reload_cmd="pf_reload" 20resync_cmd="pf_resync" 21status_cmd="pf_status"
| 4# 5 6# PROVIDE: pf 7# REQUIRE: FILESYSTEMS netif pflog pfsync 8# BEFORE: routing 9# KEYWORD: nojail 10 11. /etc/rc.subr 12 13name="pf" 14rcvar=`set_rcvar` 15load_rc_config $name 16start_cmd="pf_start" 17stop_cmd="pf_stop" 18check_cmd="pf_check" 19reload_cmd="pf_reload" 20resync_cmd="pf_resync" 21status_cmd="pf_status"
|
22extra_commands="check reload resync status"
| 22extra_commands="check reload resync"
|
23required_files="$pf_rules" 24required_modules="pf" 25 26pf_start() 27{ 28 check_startmsgs && echo -n 'Enabling pf' 29 $pf_program -F all > /dev/null 2>&1 30 $pf_program -f "$pf_rules" $pf_flags
--- 42 unchanged lines hidden --- | 23required_files="$pf_rules" 24required_modules="pf" 25 26pf_start() 27{ 28 check_startmsgs && echo -n 'Enabling pf' 29 $pf_program -F all > /dev/null 2>&1 30 $pf_program -f "$pf_rules" $pf_flags
--- 42 unchanged lines hidden --- |