Forgot to add the script itself

This commit is contained in:
Sergey Matveychuk 2006-07-12 05:51:47 +00:00
parent c2de988e10
commit 07ac479bee

View file

@ -0,0 +1,24 @@
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: xinetd
# REQUIRE: DAEMON
#
# 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"