pkgsrc/net/openafs/files/bosserver.sh
gendalia 3e0768b55b Configure the ${PKG_SYSCONFDIR}/openafs & ${VARBASE}/openafs directories
correctly & completely, and add the startup script for the bosserver.
2005-06-16 17:27:12 +00:00

18 lines
354 B
Bash

#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: bosserver.sh,v 1.1 2005/06/16 17:27:12 gendalia Exp $
#
# PROVIDE: bosserver
# BEFORE: arlad
# REQUIRE: NETWORK
. /etc/rc.subr
name="bosserver"
rcvar=$name
hostname=`@HOSTNAME_CMD@`
command="@PREFIX@/sbin/$name"
stop_precmd="@PREFIX@/bin/bos shutdown $hostname -local -wait"
load_rc_config $name
run_rc_command "$1"