diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2004-02-23 14:47:59 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2004-02-23 14:47:59 +0000 |
commit | bbc3e6058ff55f4d4f8d7a799380ac11e6d66a7b (patch) | |
tree | 42e93b0b7ec78aa392a6a4f728b35a47372b877b | |
parent | Updated to 0.20 (diff) |
Add forgotten startup files.
Obtained from: kris@ via bento log.
Notes
Notes:
svn path=/head/; revision=101865
-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 000000000000..1a61c4111a28 --- /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" |