blob: 71050e2044cfd49b8175d7bcdd192e80d29a5f6b (
plain) (
tree)
|
|
#!/bin/sh
# PROVIDE: rinetd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable rinetd:
# rinetd_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable rinetd
# rinetd_flags (str): Set to "" by default.
# Extra flags passed to start command
#
. %%RC_SUBR%%
name="rinetd"
rcvar=`set_rcvar`
load_rc_config $name
: ${rinetd_enable="NO"}
command="%%PREFIX%%/sbin/rinetd"
pidfile="/var/run/rinetd.pid"
run_rc_command "$1"
|