1#!/bin/sh 2# 3# $FreeBSD$ 4# 5 6# PROVIDE: kpasswdd 7# REQUIRE: kdc 8# KEYWORD: shutdown 9 10. /etc/rc.subr 11 12name=kpasswdd 13desc="Kerberos 5 password changing" 14rcvar=${name}_enable 15required_vars=kdc_enable 16start_precmd=${name}_start_precmd 17 18set_rcvar_obsolete kpasswdd_server_enable kpasswdd_enable 19set_rcvar_obsolete kpasswdd_server kpasswdd_program 20set_rcvar_obsolete kerberos5_server_enable kdc_enable 21 22kpasswdd_start_precmd() 23{ 24 25 command_args="$command_args &" 26} 27 28load_rc_config $name 29run_rc_command "$1" 30