Gentoo Archives: gentoo-commits

From: "Jeffrey Gardner (je_fro)" <je_fro@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/foldingathome/files/6.02: folding-conf.d fah-init initfolding
Date: Sat, 22 Nov 2008 21:31:28
Message-Id: E1L404c-0000fg-Jw@stork.gentoo.org
1 je_fro 08/11/22 21:31:26
2
3 Modified: folding-conf.d fah-init initfolding
4 Log:
5 Bumping for init script fix and add back ~x86.
6 (Portage version: 2.2_rc15/cvs/Linux 2.6.27-gentoo-r3 x86_64)
7
8 Revision Changes Path
9 1.2 sci-biology/foldingathome/files/6.02/folding-conf.d
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/files/6.02/folding-conf.d?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/files/6.02/folding-conf.d?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/files/6.02/folding-conf.d?r1=1.1&r2=1.2
14
15 Index: folding-conf.d
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/6.02/folding-conf.d,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- folding-conf.d 3 Aug 2008 03:19:59 -0000 1.1
22 +++ folding-conf.d 22 Nov 2008 21:31:26 -0000 1.2
23 @@ -16,6 +16,6 @@
24 # But use of other options are not recommended when using the Folding client
25 # as a service.
26 #
27 -FOLD_OPTS="-local"
28 +FOLD_OPTS="-smp"
29 PIDFILE=/var/run/folding
30
31
32
33
34 1.3 sci-biology/foldingathome/files/6.02/fah-init
35
36 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/files/6.02/fah-init?rev=1.3&view=markup
37 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/files/6.02/fah-init?rev=1.3&content-type=text/plain
38 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/files/6.02/fah-init?r1=1.2&r2=1.3
39
40 Index: fah-init
41 ===================================================================
42 RCS file: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/6.02/fah-init,v
43 retrieving revision 1.2
44 retrieving revision 1.3
45 diff -u -r1.2 -r1.3
46 --- fah-init 22 Nov 2008 04:37:22 -0000 1.2
47 +++ fah-init 22 Nov 2008 21:31:26 -0000 1.3
48 @@ -1,18 +1,18 @@
49 #!/sbin/runscript
50 # Copyright 1999-2007 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/6.02/fah-init,v 1.2 2008/11/22 04:37:22 je_fro Exp $
53 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/6.02/fah-init,v 1.3 2008/11/22 21:31:26 je_fro Exp $
54
55 opts="${opts} unitinfo"
56
57 unitinfo() {
58 - einfo "$(head -n1 /opt/foldingathome/amd64-smp/unitinfo.txt):"
59 - sed -e '1,2d' /opt/foldingathome/amd64-smp/unitinfo.txt
60 + einfo "$(head -n1 /opt/foldingathome/unitinfo.txt):"
61 + sed -e '1,2d' /opt/foldingathome/unitinfo.txt
62 }
63
64 start() {
65 ebegin "Starting Folding@Home"
66 - cd /opt/foldingathome/amd64-smp
67 + cd /opt/foldingathome
68 start-stop-daemon --chdir ${PWD} --chuid foldingathome --nicelevel 19 \
69 --make-pidfile --pidfile "${PIDFILE}" \
70 --start --background --exec ./fah6 -- ${FOLD_OPTS}
71
72
73
74 1.2 sci-biology/foldingathome/files/6.02/initfolding
75
76 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/files/6.02/initfolding?rev=1.2&view=markup
77 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/files/6.02/initfolding?rev=1.2&content-type=text/plain
78 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/files/6.02/initfolding?r1=1.1&r2=1.2
79
80 Index: initfolding
81 ===================================================================
82 RCS file: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/6.02/initfolding,v
83 retrieving revision 1.1
84 retrieving revision 1.2
85 diff -u -r1.1 -r1.2
86 --- initfolding 3 Aug 2008 03:19:59 -0000 1.1
87 +++ initfolding 22 Nov 2008 21:31:26 -0000 1.2
88 @@ -1,6 +1,6 @@
89 #!/bin/sh
90
91 -cd /opt/foldingathome/amd64-smp
92 -/opt/foldingathome/amd64-smp/fah6 -configonly
93 -/bin/chown -R foldingathome:nogroup /opt/foldingathome/amd64-smp
94 +cd /opt/foldingathome
95 +/opt/foldingathome/fah6 -configonly
96 +/bin/chown -R foldingathome:nogroup /opt/foldingathome