diff options
-rw-r--r-- | etc/rc.d/kadmind | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/etc/rc.d/kadmind b/etc/rc.d/kadmind index a65a1bb..c6001c6 100644 --- a/etc/rc.d/kadmind +++ b/etc/rc.d/kadmind @@ -11,12 +11,7 @@ . /etc/rc.subr name="kadmindIV" - -# XXX - The rc.conf files must be sourced early so that several -# variables can be set properly. -# load_rc_config $name - rcvar=`set_rcvar kadmind4_server` checkyesno kerberos_stash && stash='-n' || stash= start_cmd="( sleep 20; ${kadmind4_server} ${stash} > /dev/null 2>&1 & ) &" @@ -25,8 +20,11 @@ required_vars="kerberos4_server_enable" run_rc_command "$1" name="kadmind5" +load_rc_config $name rcvar="kadmind5_server_enable" -start_cmd="${kadmind5_server} &" +unset start_cmd +command="${kadmind5_server}" +command_args="&" required_vars="kerberos5_server_enable" run_rc_command "$1" |