freebsd-dev/etc/rc.d/kerberos
gordon d3a7e71575 Merge in all the changes that Mike Makonnen has been maintaining for a
while. This is only the script pieces, the glue for the build comes next.

Submitted by:	Mike Makonnen <makonnen@pacbell.net>
Reviewed by:	silence on -current and -hackers
Prodded by:	rwatson
2002-06-13 22:14:37 +00:00

28 lines
467 B
Bash

#!/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"