kdc revision 298514
1#!/bin/sh 2# 3# $FreeBSD: head/etc/rc.d/kdc 298514 2016-04-23 16:10:54Z lme $ 4# 5 6# PROVIDE: kdc 7# REQUIRE: NETWORKING 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