- Add rc.d script

- Bump PORTREVISION

PR:		ports/107208
Submitted by:	Eygene Ryabinkin <rea-fbsd@codelabs.ru>
Approved by:	erwin (mentor)
This commit is contained in:
Gabor Kovesdan 2006-12-27 22:46:05 +00:00
parent 294027405b
commit 573aed523c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180886
3 changed files with 23 additions and 0 deletions

View file

@ -13,6 +13,7 @@ MASTER_SITES= http://expiretable.fnord.se/
MAINTAINER= cris@gufi.org
COMMENT= Utility to remove entries from the pf(4) table based on their age
USE_RC_SUBR= expiretable
MAN1= expiretable.1
.include <bsd.port.pre.mk>

View file

@ -0,0 +1,21 @@
#!/bin/sh
# $Id$
# PROVIDE: expiretable
# KEYWORD: shutdown
# /etc/rc.conf tunables.
# - expiretable_enable set to "YES" to enable expiretable startup
# - expiretable_flags specify your own flags to expiretable
. /etc/rc.subr
name="expiretable"
rcvar=`set_rcvar`
command="/usr/local/sbin/expiretable"
load_rc_config "$name"
expiretable_enable=${expiretable_enable-"NO"}
expiretable_flags=${expiretable_flags-""}
run_rc_command "$1"

View file

@ -1 +1,2 @@
sbin/expiretable
@unexec %%RC_DIR%%/etc/rc.d/expiretable%%RC_SUFX%% stop 2>&1 >/dev/null || true