3e0768b55b
correctly & completely, and add the startup script for the bosserver.
18 lines
354 B
Bash
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"
|