pkgsrc/games/quake3server/files/quake3server.sh
2004-01-22 10:35:56 +00:00

20 lines
363 B
Bash
Executable file

#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: quake3server.sh,v 1.2 2004/01/22 10:35:56 xtraeme Exp $
#
# PROVIDE: quake3server
# REQUIRE: network mountcritlocal
. /etc/rc.subr
name="quake3server"
rcvar=$name
q3rootdir="@PREFIX@/lib/lokigames/quake3server"
command="${q3rootdir}/q3ded &"
extra_commands="reload"
cd ${q3rootdir}
load_rc_config $name
run_rc_command "$1"