2000-03-10 14:53:23 +03:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2000-04-30 17:23:04 +04:00
|
|
|
# $NetBSD: kerberos,v 1.3 2000/04/30 13:23:33 lukem Exp $
|
2000-03-10 14:53:23 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: kerberos
|
2000-03-13 07:03:52 +03:00
|
|
|
# REQUIRE: DAEMON LOGIN
|
2000-03-10 14:53:23 +03:00
|
|
|
|
|
|
|
. /etc/rc.subr
|
|
|
|
. /etc/rc.conf
|
|
|
|
|
2000-04-30 17:23:04 +04:00
|
|
|
arg=$1
|
|
|
|
|
2000-03-10 14:53:23 +03:00
|
|
|
name="kerberos"
|
|
|
|
command="/usr/sbin/${name}"
|
|
|
|
command_args=">> /var/log/${name}.log &"
|
|
|
|
|
2000-04-30 17:23:04 +04:00
|
|
|
run_rc_command "$arg"
|
2000-03-10 14:53:23 +03:00
|
|
|
|
|
|
|
|
|
|
|
name="kadmind"
|
|
|
|
rcvar="kerberos"
|
|
|
|
command="/usr/sbin/${name}"
|
|
|
|
command_args="-n >> /var/log/${name}.log &"
|
|
|
|
|
2000-04-30 17:23:04 +04:00
|
|
|
run_rc_command "$arg"
|