SOURCES: q3ded.init - from q3ded-gpl.init

sparky sparky at pld-linux.org
Sat Oct 15 15:27:12 CEST 2005


Author: sparky                       Date: Sat Oct 15 13:27:12 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- from q3ded-gpl.init

---- Files affected:
SOURCES:
   q3ded.init (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SOURCES/q3ded.init
diff -u SOURCES/q3ded.init:1.11 SOURCES/q3ded.init:1.12
--- SOURCES/q3ded.init:1.11	Mon Jul 18 20:05:03 2005
+++ SOURCES/q3ded.init	Sat Oct 15 15:27:07 2005
@@ -40,11 +40,11 @@
   start)
 	if [ ! -f /var/lock/subsys/q3ded ]; then
 		msg_starting "Quake3 dedicated server"
-		if [ ! -x /opt/quake3/q3ded ]; then
+		if [ ! -x /usr/bin/q3ded ]; then
 			fail
 			exit 1
 		fi
-		screen -A -m -d -S q3ded su - quake3 -c "cd /opt/quake3/ && ./q3ded ${Q3_OPTS}"
+		screen -A -m -d -S q3ded su quake3 -c "/usr/bin/q3ded ${Q3_OPTS}"
 		touch /var/lock/subsys/q3ded && ok
 	else
 		msg_already_running "Quake3 dedicated server"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/q3ded.init?r1=1.11&r2=1.12&f=u




More information about the pld-cvs-commit mailing list