forked from Lainports/freebsd-ports
Forgot to add the script itself
This commit is contained in:
parent
c2de988e10
commit
07ac479bee
1 changed files with 24 additions and 0 deletions
24
security/xinetd/files/xinetd.in
Normal file
24
security/xinetd/files/xinetd.in
Normal 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"
|
||||
Loading…
Add table
Reference in a new issue