]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/rc.d/kpasswdd
UPDATING: Add note about efifb support and serial output
[FreeBSD/FreeBSD.git] / etc / rc.d / kpasswdd
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5
6 # PROVIDE: kpasswdd
7 # REQUIRE: kdc
8 # KEYWORD: shutdown
9
10 . /etc/rc.subr
11
12 name=kpasswdd
13 desc="Kerberos 5 password changing"
14 rcvar=${name}_enable
15 required_vars=kdc_enable
16 start_precmd=${name}_start_precmd
17
18 set_rcvar_obsolete kpasswdd_server_enable kpasswdd_enable
19 set_rcvar_obsolete kpasswdd_server kpasswdd_program
20 set_rcvar_obsolete kerberos5_server_enable kdc_enable
21
22 kpasswdd_start_precmd()
23 {
24
25         command_args="$command_args &"
26 }
27
28 load_rc_config $name
29 run_rc_command "$1"