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