summaryrefslogtreecommitdiff
path: root/games/quakeserver/files/quakeserver.sh
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-02 16:08:26 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-02 16:08:26 +0000
commit111d55e923b7e1647c97a1e77fa2e26782b1efb5 (patch)
tree82af4f5a29476f0c82c99804029b245db69fcca5 /games/quakeserver/files/quakeserver.sh
parentEnabled IPv6. (diff)
fix file ownership problem
PR: 33795 Submitted by: Lyndon Nerenberg <lyndon@atg.aciworldwide.com>
Notes
Notes: svn path=/head/; revision=57211
Diffstat (limited to 'games/quakeserver/files/quakeserver.sh')
-rw-r--r--games/quakeserver/files/quakeserver.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/quakeserver/files/quakeserver.sh b/games/quakeserver/files/quakeserver.sh
index 34ce62429115..3b138d6b916e 100644
--- a/games/quakeserver/files/quakeserver.sh
+++ b/games/quakeserver/files/quakeserver.sh
@@ -5,12 +5,12 @@ case "$1" in
start)
if [ -x %%PREFIX%%/quakeserver/unixded ]
then
- su nobody -c %%PREFIX%%/quakeserver/qserver.sh \
+ echo %%PREFIX%%/quakeserver/qserver.sh | su -m quakerun \
&& echo -n ' quakeserver'
fi
;;
stop)
- su nobody -c %%PREFIX%%/quakeserver/qserver.sh && echo -n ' quakeserver'
+ echo killall unixded | su -m quakerun && echo -n ' quakeserver'
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2