diff options
author | vanilla <vanilla@FreeBSD.org> | 2004-02-23 14:47:59 +0000 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2004-02-23 14:47:59 +0000 |
commit | dd9d005ba97de128100ddac873b523fee712e221 (patch) | |
tree | fe7ff51b43cf2afcd74b1ddfec1a873617e2f11a /security/xinetd | |
parent | 792df8c8b87f08bca438d0d4074d7886ab7a4687 (diff) | |
download | FreeBSD-ports-dd9d005ba97de128100ddac873b523fee712e221.zip FreeBSD-ports-dd9d005ba97de128100ddac873b523fee712e221.tar.gz |
Add forgotten startup files.
Obtained from: kris@ via bento log.
Diffstat (limited to 'security/xinetd')
-rw-r--r-- | security/xinetd/files/xinetd.sh.tmpl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/security/xinetd/files/xinetd.sh.tmpl b/security/xinetd/files/xinetd.sh.tmpl new file mode 100644 index 0000000..1a61c41 --- /dev/null +++ b/security/xinetd/files/xinetd.sh.tmpl @@ -0,0 +1,25 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: snmpd +# REQUIRE: DAEMON +# KEYWORD: FreeBSD +# +# Add the following line to /etc/rc.conf to enable xinetd: +# +# xinetd_enable="YES" +# + +. %%RC_SUBR%% + +name=xinetd +rcvar=`set_rcvar` + +command=%%PREFIX%%/sbin/xinetd > /dev/null 2>&1 + +xinetd_enable=${xinetd_enable:-"NO"} +xinetd_flags=${xinetd_flags:-"-f %%PREFIX%%/etc/xinetd.conf"} + +load_rc_config $name +run_rc_command "$1" |