Bug#449015: Fwd: patch
Thibaut VARENE
varenet at debian.org
Wed Nov 7 09:30:43 UTC 2007
For some reason my previous email never made it there so I'm resending
the patch.
Does it look good? I tried to keep it as simple as possible...
T-Bone
---------- Forwarded message ----------
From: Thibaut VARENE <varenet at fifi.esiee.fr>
Date: Nov 7, 2007 10:25 AM
Subject: patch
--- /etc/init.d/boinc-client 2007-10-30 07:32:59.000000000 +0100
+++ etc/init.d/boinc-client 2007-11-04 15:43:53.063308989 +0100
@@ -23,6 +23,7 @@
# Default values for the variables that are also set in the defaults file.
ENABLED=0
+SCHEDULE=0
BOINC_USER=boinc
BOINC_DIR=/var/lib/boinc-client
BOINC_CLIENT=/usr/bin/boinc_client
@@ -83,6 +84,10 @@
--chdir $BOINC_DIR --exec $BOINC_CLIENT -- $BOINC_OPTS
fi
log_end_msg 0
+
+ if [ "$SCHEDULE" = "1" ]; then
+ schedule
+ fi
}
stop()
--- /etc/default/boinc-client.dpkg-dist 2007-07-15 17:16:42.000000000 +0200
+++ etc/default/boinc-client 2007-11-04 15:37:53.846605086 +0100
@@ -4,6 +4,10 @@
# Set this to 1 to enable and to 0 to disable the init script.
ENABLED="1"
+# Set this to 1 to enable advanced scheduling of the BOINC client and all its
+# sub-processes (reduces the impact of BOINC on the system's performance)
+SCHEDULE="1"
+
# The BOINC core client will be started with the permissions of this user.
BOINC_USER="boinc"
--
Thibaut VARENE
http://www.parisc-linux.org/~varenet/
More information about the pkg-boinc-devel
mailing list