diff options
Diffstat (limited to 'games/quake3server/files/quake3server.sh')
-rwxr-xr-x | games/quake3server/files/quake3server.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/games/quake3server/files/quake3server.sh b/games/quake3server/files/quake3server.sh new file mode 100755 index 00000000000..88c094a4cbe --- /dev/null +++ b/games/quake3server/files/quake3server.sh @@ -0,0 +1,20 @@ +#!/bin/sh +# +# $NetBSD: quake3server.sh,v 1.1 2004/01/22 09:02:30 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" |