27bc1b287e
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
28 lines
467 B
Bash
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"
|