add an rc script; from Mattieu Baptiste, thank you.
This commit is contained in:
parent
b533376775
commit
70e703faea
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.25 2010/11/19 22:31:37 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.26 2011/06/07 22:15:38 sthen Exp $
|
||||
|
||||
COMMENT-main= packet filter statistics visualization
|
||||
COMMENT-daemon= pfstat daemon
|
||||
@ -8,7 +8,7 @@ DISTNAME= pfstat-2.3
|
||||
PKGNAME-main= ${DISTNAME}
|
||||
PKGNAME-daemon= ${DISTNAME:S/-/d-/}
|
||||
REVISION-main= 1
|
||||
REVISION-daemon=2
|
||||
REVISION-daemon=3
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.benzedrine.cx/
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-daemon,v 1.3 2010/04/08 19:31:31 naddy Exp $
|
||||
@comment $OpenBSD: PLIST-daemon,v 1.4 2011/06/07 22:15:38 sthen Exp $
|
||||
@bin bin/pfstatd
|
||||
@man man/cat8/pfstatd.0
|
||||
@rcscript ${RCDIR}/pfstatd
|
||||
|
11
net/pfstat/pkg/pfstatd.rc
Normal file
11
net/pfstat/pkg/pfstatd.rc
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: pfstatd.rc,v 1.1 2011/06/07 22:15:38 sthen Exp $
|
||||
|
||||
daemon="${TRUEPREFIX}/bin/pfstatd"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
rc_reload=NO
|
||||
|
||||
rc_cmd $1
|
Loading…
Reference in New Issue
Block a user