freebsd-skq/etc/rc.d/kerberos

28 lines
467 B
Plaintext
Raw Normal View History

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: kerberos
# REQUIRE: NETWORKING
# KEYWORD: FreeBSD
. /etc/rc.subr
name="kerberosIV"
rcvar="kerberos4_server_enable"
command="${kerberos4_server}"
checkyesno kerberos_stash && stash='-n' || stash=
command_args="${stash} >> /var/log/kerberos.log &"
load_rc_config $name
run_rc_command "$1"
name="kerberos5"
rcvar="kerberos5_server_enable"
command="${kerberos5_server}"
command_args="&"
load_rc_config $name
run_rc_command "$1"