1#!/bin/sh 2# 3# $FreeBSD$ 4# 5 6# PROVIDE: kdc 7# REQUIRE: NETWORKING 8# BEFORE: SERVERS 9# KEYWORD: shutdown 10 11. /etc/rc.subr 12 13name=kdc 14desc="Kerberos 5 server" 15rcvar=${name}_enable 16start_precmd=${name}_start_precmd 17 18set_rcvar_obsolete kerberos5_server_enable kdc_enable 19set_rcvar_obsolete kerberos5_server kdc_program 20set_rcvar_obsolete kerberos5_server_flags kdc_flags 21 22kdc_start_precmd() 23{ 24 25 command_args="$command_args --detach" 26} 27 28load_rc_config $name 29run_rc_command "$1" 30