diff options
Diffstat (limited to 'games-fps/rtcwmp-demo/files/rtcwmp-demo-ded.rc')
-rw-r--r-- | games-fps/rtcwmp-demo/files/rtcwmp-demo-ded.rc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/games-fps/rtcwmp-demo/files/rtcwmp-demo-ded.rc b/games-fps/rtcwmp-demo/files/rtcwmp-demo-ded.rc deleted file mode 100644 index 7d711d08acee..000000000000 --- a/games-fps/rtcwmp-demo/files/rtcwmp-demo-ded.rc +++ /dev/null @@ -1,24 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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 -} |