1 1.1 thorpej #!/bin/sh 2 1.1 thorpej # 3 1.2 lukem # $NetBSD: kdc,v 1.2 2000/09/19 13:04:38 lukem Exp $ 4 1.1 thorpej # 5 1.1 thorpej 6 1.1 thorpej # PROVIDE: kdc 7 1.1 thorpej # REQUIRE: mountcritremote 8 1.1 thorpej 9 1.1 thorpej . /etc/rc.subr 10 1.1 thorpej 11 1.1 thorpej name="kdc" 12 1.2 lukem rcvar=$name 13 1.1 thorpej command="/usr/sbin/${name}" 14 1.1 thorpej pidfile="/var/run/${name}.pid" 15 1.1 thorpej required_files="/etc/krb5.conf" 16 1.1 thorpej 17 1.1 thorpej load_rc_config $name 18 1.1 thorpej run_rc_command "$1" 19