r705 - in /trunk/boinc/debian: boinc-client.init changelog

fst-guest at users.alioth.debian.org fst-guest at users.alioth.debian.org
Sun Sep 9 08:29:57 UTC 2007


Author: fst-guest
Date: Sun Sep  9 08:29:57 2007
New Revision: 705

URL: http://svn.debian.org/wsvn/pkg-boinc/?sc=1&rev=705
Log:
debian/boinc-client.init:
- Specified default values for the variables of the /etc/default file and
  changed script to exit quietly if the default $BOINC_CLIENT is used but
  not present so that it does not fail if the boinc-client package was
  removed but not purged. Both is required by the Debian Policy.


Modified:
    trunk/boinc/debian/boinc-client.init
    trunk/boinc/debian/changelog

Modified: trunk/boinc/debian/boinc-client.init
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc/debian/boinc-client.init?rev=705&op=diff
==============================================================================
--- trunk/boinc/debian/boinc-client.init (original)
+++ trunk/boinc/debian/boinc-client.init Sun Sep  9 08:29:57 2007
@@ -11,7 +11,7 @@
 ### END INIT INFO
 
 # Debian init.d script for the BOINC core client
-# Copyright © 2005, 2006
+# Copyright © 2005, 2006, 2007
 # Debian BOINC Maintainers <pkg-boinc-devel at lists.alioth.debian.org>
 #
 # This file is licensed under the terms of the GNU General Public License,
@@ -20,6 +20,9 @@
 set -e
 
 ENABLED=0
+BOINC_USER=boinc
+BOINC_DIR=/var/lib/boinc-client
+BOINC_CLIENT=/usr/bin/boinc_client
 
 . /lib/lsb/init-functions
 
@@ -31,7 +34,9 @@
 # Quit quietly, if $ENABLED is 0.
 test "$ENABLED" != "0" || exit 0
 
-if [ ! -x "$BOINC_CLIENT" ]; then
+if [ "$BOINC_CLIENT" = "/usr/bin/boinc_client" ]; then
+  test -x "$BOINC_CLIENT" || exit 0
+elif [ ! -x "$BOINC_CLIENT" ]; then
   log_failure_msg "BOINC client '$BOINC_CLIENT' does not exist or is not" \
     "executable."
   exit 5

Modified: trunk/boinc/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc/debian/changelog?rev=705&op=diff
==============================================================================
--- trunk/boinc/debian/changelog (original)
+++ trunk/boinc/debian/changelog Sun Sep  9 08:29:57 2007
@@ -4,11 +4,16 @@
   * debian/boinc-manager.menu: Changed section for the new menu hierarchy from
     "Apps/Tools" to "Applications/System/Monitoring".
   * debian/icons/: Updated icons to the new BOINC logo.
-  * debian/boinc-client.init: Added patch to use advanced scheduling for the
-    client and it's children using the schedtool and ionice utilities. For now
-    advanced scheduling is disabled by default. Invoke the init script with
-    the schedule option to enable it. Thanks to Omen Wild
-    <dbug4.flibble at mandarb.com> for the patch. (closes: #423259)
+  * debian/boinc-client.init:
+    - Added patch to use advanced scheduling for the client and it's children
+      using the schedtool and ionice utilities. For now advanced scheduling is
+      disabled by default. Invoke the init script with the schedule option to
+      enable it. Thanks to Omen Wild <dbug4.flibble at mandarb.com> for the
+      patch. (closes: #423259)
+    - Specified default values for the variables of the /etc/default file and
+      changed script to exit quietly if the default $BOINC_CLIENT is used but
+      not present so that it does not fail if the boinc-client package was
+      removed but not purged. Both is required by the Debian Policy.
   * debian/control:
     - Added schedtool, which if installed can be used for advanced scheduling
       in boinc-client's init script, to boinc-client's Suggest field.
@@ -36,7 +41,7 @@
     <jfs at computer.org>. (closes: #437379)
   * Added Slovak (sk.po) by helix84 <helix84 at centrum.sk>. (closes: #437670)
 
- -- Frank S. Thomas <frank at thomas-alfeld.de>  Sun, 02 Sep 2007 09:43:31 +0200
+ -- Frank S. Thomas <frank at thomas-alfeld.de>  Sun, 09 Sep 2007 09:47:27 +0200
 
 boinc (5.10.8-1) unstable; urgency=low
 




More information about the pkg-boinc-commits mailing list