1#!/bin/sh 2# 3# $FreeBSD$ 4# 5 6# PROVIDE: kadmind 7# REQUIRE: kdc 8# KEYWORD: shutdown 9 10. /etc/rc.subr 11 12name=kadmind 13desc="Server for administrative access to Kerberos database" 14rcvar=${name}_enable 15required_vars=kdc_enable 16start_precmd=${name}_start_precmd 17 18set_rcvar_obsolete kadmind5_server_enable kadmind_enable 19set_rcvar_obsolete kadmind5_server kadmind_program 20set_rcvar_obsolete kerberos5_server_enable kdc_enable 21 22kadmind_start_precmd() 23{ 24 25 command_args="$command_args &" 26} 27 28load_rc_config $name 29run_rc_command "$1" 30