[SCM] Packaging for bzflag branch, master, updated. upstream/2.0.16-61-g70bed9d

Ryan Kavanagh rak at debian.org
Mon Jul 23 22:57:34 UTC 2012


The following commit has been merged in the master branch:
commit ead85cea59de112d60c2f2d3c6b89ab03961f642
Author: Ryan Kavanagh <rak at debian.org>
Date:   Mon Jul 23 10:09:44 2012 -0400

    System administrators can delete /etc/default/bzflag, don't require its existence in init script

diff --git a/debian/bzflag-server.bzflag.init b/debian/bzflag-server.bzflag.init
index 9cd3334..f0ed729 100644
--- a/debian/bzflag-server.bzflag.init
+++ b/debian/bzflag-server.bzflag.init
@@ -18,10 +18,18 @@ LOGFILE="/var/log/bzflag/game.log"
 BINARY="/usr/games/bzfs"
 
 test -x ${BINARY} || exit 0
-test -f /etc/default/${NAME} || exit 0
 
 . /lib/lsb/init-functions
-. /etc/default/${NAME}
+
+# Default to a free-for-all server which does not advertise its
+# presence.
+OPTIONS="-advertise NONE"
+# and that doesn't automatically start
+RUN_AT_STARTUP="no"
+# Override these with settings from /etc/default/${NAME} if said file exists
+if test -f /etc/default/${NAME} ; then
+        . /etc/default/${NAME}
+fi
 
 case "${ACTION}" in
 	start|start-now)

-- 
Packaging for bzflag



More information about the Pkg-games-commits mailing list