2002-06-13 22:14:37 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: kadmin
|
|
|
|
# REQUIRE: kerberos
|
|
|
|
# BEFORE: DAEMON
|
|
|
|
# KEYWORD: FreeBSD
|
|
|
|
|
|
|
|
. /etc/rc.subr
|
|
|
|
|
|
|
|
name="kadmindIV"
|
|
|
|
load_rc_config $name
|
|
|
|
rcvar=`set_rcvar kadmind4_server`
|
|
|
|
checkyesno kerberos_stash && stash='-n' || stash=
|
|
|
|
start_cmd="( sleep 20; ${kadmind4_server} ${stash} > /dev/null 2>&1 & ) &"
|
|
|
|
required_vars="kerberos4_server_enable"
|
|
|
|
|
|
|
|
run_rc_command "$1"
|
|
|
|
|
|
|
|
name="kadmind5"
|
2002-07-07 08:00:31 +00:00
|
|
|
load_rc_config $name
|
2002-06-13 22:14:37 +00:00
|
|
|
rcvar="kadmind5_server_enable"
|
2002-07-07 08:00:31 +00:00
|
|
|
unset start_cmd
|
|
|
|
command="${kadmind5_server}"
|
|
|
|
command_args="&"
|
2002-06-13 22:14:37 +00:00
|
|
|
required_vars="kerberos5_server_enable"
|
|
|
|
|
|
|
|
run_rc_command "$1"
|