summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-12-09 20:37:05 +0000
committerMike Frysinger <vapier@gentoo.org>2003-12-09 20:37:05 +0000
commit71eb0b299f669f438275df4c3dacd6a150f1e01f (patch)
tree79427e800d9c22b3041e3077c8f23e3ac846766f /games-fps/enemy-territory/files
parentfixing Manifest (diff)
downloadhistorical-71eb0b299f669f438275df4c3dacd6a150f1e01f.tar.gz
historical-71eb0b299f669f438275df4c3dacd6a150f1e01f.tar.bz2
historical-71eb0b299f669f438275df4c3dacd6a150f1e01f.zip
fixing Manifest
Diffstat (limited to 'games-fps/enemy-territory/files')
-rw-r--r--games-fps/enemy-territory/files/et2
-rw-r--r--games-fps/enemy-territory/files/et-ded2
-rw-r--r--games-fps/enemy-territory/files/et-ded.rc6
3 files changed, 5 insertions, 5 deletions
diff --git a/games-fps/enemy-territory/files/et b/games-fps/enemy-territory/files/et
index 1bcc18de19b2..87bc110b1f61 100644
--- a/games-fps/enemy-territory/files/et
+++ b/games-fps/enemy-territory/files/et
@@ -1,3 +1,3 @@
#!/bin/sh
cd GENTOO_DIR
-./et.x86 $*
+exec ./et.x86 "$@"
diff --git a/games-fps/enemy-territory/files/et-ded b/games-fps/enemy-territory/files/et-ded
index b562c6ccf35b..21dcd5d2f298 100644
--- a/games-fps/enemy-territory/files/et-ded
+++ b/games-fps/enemy-territory/files/et-ded
@@ -1,3 +1,3 @@
#!/bin/sh
cd GENTOO_DIR
-./etded.x86 +set com_hunkmegs 64 +set sv_maxrate 9000 +set com_zonemegs 32 +set dedicated 2 +set sv_hostname "my server" +set g_motd "my motd" +map mp_village +set ttycon 0
+exec ./etded.x86 +set com_hunkmegs 64 +set sv_maxrate 9000 +set com_zonemegs 32 +set dedicated 2 +set sv_hostname "my server" +set g_motd "my motd" +map mp_village +set ttycon 0 "$@"
diff --git a/games-fps/enemy-territory/files/et-ded.rc b/games-fps/enemy-territory/files/et-ded.rc
index c9fee6edb877..3a6c471573d6 100644
--- a/games-fps/enemy-territory/files/et-ded.rc
+++ b/games-fps/enemy-territory/files/et-ded.rc
@@ -1,21 +1,21 @@
#!/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/enemy-territory/files/et-ded.rc,v 1.3 2003/10/03 22:15:41 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/enemy-territory/files/et-ded.rc,v 1.4 2003/12/09 20:37:05 vapier Exp $
depend() {
need net
}
start() {
- ebegin "Starting Enemy Territory dedicated server..."
+ ebegin "Starting Enemy Territory dedicated server"
export HOME=/opt/enemy-territory
screen -A -m -d -S et-ded su - GAMES_USER_DED -c GENTOO_DIR/etded
eend $?
}
stop() {
- ebegin "Stopping Enemy Territory dedicated server..."
+ ebegin "Stopping Enemy Territory dedicated server"
pid=`screen -list | grep etded | awk -F . '{print $1}' | sed -e s/.//`
kill $pid
eend $?