diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-09 18:10:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-09 18:10:15 +0000 |
commit | c22ea1f9962983b3583d00085024413d77102212 (patch) | |
tree | acd80fa59d92f27b0609b3d58893ef500cd09925 /games-fps/rtcw/files | |
parent | New version 'n cleanup (diff) | |
download | gentoo-2-c22ea1f9962983b3583d00085024413d77102212.tar.gz gentoo-2-c22ea1f9962983b3583d00085024413d77102212.tar.bz2 gentoo-2-c22ea1f9962983b3583d00085024413d77102212.zip |
games-fps uNF uNF uNF
Diffstat (limited to 'games-fps/rtcw/files')
-rw-r--r-- | games-fps/rtcw/files/digest-rtcw-1.41 | 2 | ||||
-rw-r--r-- | games-fps/rtcw/files/wolf | 3 | ||||
-rw-r--r-- | games-fps/rtcw/files/wolf-ded | 3 | ||||
-rw-r--r-- | games-fps/rtcw/files/wolf-ded.rc | 25 |
4 files changed, 33 insertions, 0 deletions
diff --git a/games-fps/rtcw/files/digest-rtcw-1.41 b/games-fps/rtcw/files/digest-rtcw-1.41 new file mode 100644 index 000000000000..c47e06895b3e --- /dev/null +++ b/games-fps/rtcw/files/digest-rtcw-1.41 @@ -0,0 +1,2 @@ +MD5 87c3ebf106b107b60b472863aeec20c4 wolf-linux-1.4-full.x86.run 73536309 +MD5 df2997a5bbf66ee5a6c552f9624f6770 wolf-linux-update-1.41.x86.run 5015509 diff --git a/games-fps/rtcw/files/wolf b/games-fps/rtcw/files/wolf new file mode 100644 index 000000000000..4022f75261f4 --- /dev/null +++ b/games-fps/rtcw/files/wolf @@ -0,0 +1,3 @@ +#!/bin/sh +cd GENTOO_DIR +exec ./wolf.x86 $* diff --git a/games-fps/rtcw/files/wolf-ded b/games-fps/rtcw/files/wolf-ded new file mode 100644 index 000000000000..fafa1c464703 --- /dev/null +++ b/games-fps/rtcw/files/wolf-ded @@ -0,0 +1,3 @@ +#!/bin/sh +cd GENTOO_DIR +exec ./wolfded.x86 $* diff --git a/games-fps/rtcw/files/wolf-ded.rc b/games-fps/rtcw/files/wolf-ded.rc new file mode 100644 index 000000000000..fec963422e76 --- /dev/null +++ b/games-fps/rtcw/files/wolf-ded.rc @@ -0,0 +1,25 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/rtcw/files/wolf-ded.rc,v 1.1 2003/09/09 18:10:14 vapier Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting RTCW dedicated server..." + screen -A -m -d -S rtcw su - dedicated -c GENTOO_DIR/startwolfded + eend $? +} + +stop() { + ebegin "Stopping RTCW dedicated server..." + kill `screen -list | grep rtcw | awk -F . '{ print $1 }' | sed -e s/.//` + eend $? + +} + +status() { + screen -list | grep rtcwded +} |