diff options
Diffstat (limited to 'games-server/halflife-server/files/hlds.rc')
-rw-r--r-- | games-server/halflife-server/files/hlds.rc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games-server/halflife-server/files/hlds.rc b/games-server/halflife-server/files/hlds.rc index 99cfc8e770d6..6f2696e43aa2 100644 --- a/games-server/halflife-server/files/hlds.rc +++ b/games-server/halflife-server/files/hlds.rc @@ -1,20 +1,20 @@ #!/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-server/halflife-server/files/hlds.rc,v 1.1 2003/09/10 05:51:11 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-server/files/hlds.rc,v 1.2 2003/10/20 19:12:16 vapier Exp $ depend() { need net } start() { - ebegin "Starting halflife dedicated..." + ebegin "Starting halflife dedicated" screen -A -m -d -S hlds su - GENTOO_GAMES_USER -c "GENTOO_DIR/hlds ${HLDS_OPTS}" & eend $? } stop() { - ebegin "Stopping halflife dedicated..." + ebegin "Stopping halflife dedicated" local ppid=`screen -list | grep hlds | awk -F . '{ print $1 }' | sed -e s/.//` if [ -z "${ppid}" ] ; then eend 1 "Lost screen session" |