Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2010 16:21:13 GMT
From:      Kevin Way <kevin.way@insidesystems.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/150195: There is no startup script for pfstatd.
Message-ID:  <201009011621.o81GLDj8020034@www.freebsd.org>
Resent-Message-ID: <201009011630.o81GU36M032573@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         150195
>Category:       misc
>Synopsis:       There is no startup script for pfstatd.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 01 16:30:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Way
>Release:        8.1-p0 amd64
>Organization:
Inside Systems, Inc.
>Environment:
FreeBSD orca.jailhosts.massive.io 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Tue Aug 17 13:42:54 UTC 2010     root@:/usr/obj/usr/src/sys/JAILHOST  amd64

>Description:
There is no rc.d startup script for pfstatd in the pfstat port.
>How-To-Repeat:

>Fix:
#!/bin/sh

# PROVIDE: pfstatd
# REQUIRE: LOGIN
# BEFORE:  securelevel
# KEYWORD: shutdown

# Add the following lines to /etc/rc.conf to enable `pfstatd':
#
# pfstatd_enable="YES"
# pfstatd_flags=""
#
# See pfstat(1) for pfstatd_flags
#

. /etc/rc.subr

name="pfstatd"
rcvar=`set_rcvar`

command="/usr/local/bin/pfstatd"

# read configuration and set defaults
load_rc_config "$name"
: ${pfstatd_enable="NO"}

run_rc_command "$1"

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009011621.o81GLDj8020034>