summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-01-24 17:51:36 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-01-24 17:51:36 +0000
commit0db0d961d583502312833d562515db47c86dabf7 (patch)
tree9ac5dd5eee4620669b3b12a21c11694f76eb93c0 /games-fps/rtcwmp-demo/files
parentInitial import. Ebuild by Alexander Nicolaysen Sornes <alex@thehandofagony.c... (diff)
downloadgentoo-2-0db0d961d583502312833d562515db47c86dabf7.tar.gz
gentoo-2-0db0d961d583502312833d562515db47c86dabf7.tar.bz2
gentoo-2-0db0d961d583502312833d562515db47c86dabf7.zip
Initial import. Ebuild by Alexander Nicolaysen Sornes <alex@thehandofagony.com>. Closing bug #115712.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'games-fps/rtcwmp-demo/files')
-rw-r--r--games-fps/rtcwmp-demo/files/digest-rtcwmp-demo-1.11
-rw-r--r--games-fps/rtcwmp-demo/files/rtcwmp-demo-ded.rc25
2 files changed, 26 insertions, 0 deletions
diff --git a/games-fps/rtcwmp-demo/files/digest-rtcwmp-demo-1.1 b/games-fps/rtcwmp-demo/files/digest-rtcwmp-demo-1.1
new file mode 100644
index 000000000000..65f1ad1d9275
--- /dev/null
+++ b/games-fps/rtcwmp-demo/files/digest-rtcwmp-demo-1.1
@@ -0,0 +1 @@
+MD5 5de42da0c2ea4ef123787ad9fcd06ba5 wolfmpdemo-linux-1.1-MP.x86.run 69650634
diff --git a/games-fps/rtcwmp-demo/files/rtcwmp-demo-ded.rc b/games-fps/rtcwmp-demo/files/rtcwmp-demo-ded.rc
new file mode 100644
index 000000000000..6e69c06c400f
--- /dev/null
+++ b/games-fps/rtcwmp-demo/files/rtcwmp-demo-ded.rc
@@ -0,0 +1,25 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/rtcwmp-demo/files/rtcwmp-demo-ded.rc,v 1.1 2006/01/24 17:51:36 wolf31o2 Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting RTCW demo dedicated server..."
+ screen -A -m -d -S rtcwdemo su - dedicated -c GENTOO_DIR/startrtcwded
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping RTCW demo dedicated server..."
+ kill `screen -list | grep rtcwdemo | awk -F . '{ print $1 }' | sed -e s/.//`
+ eend $?
+
+}
+
+status() {
+ screen -list | grep rtcwdemoded
+}