1 diff -Naur blank/fah.conf.d 6.29-1/fah.conf.d
2 --- blank/fah.conf.d 1969-12-31 16:00:00.000000000 -0800
3 +++ 6.29-1/fah.conf.d 2008-08-21 16:59:05.000000000 -0700
6 +# Optional user settings for foldingathome daemon
8 +# If you prefer not to run fah as root then you can identifer a current or
9 +# specially created user here.
13 +# If you wish to associate this user with a specific group you can enter the
14 +# group name here. If left blank the default is "users".
18 +# Place any additionnal Folding@Home client flags here
20 +FAH_CLIENT_FLAGS="-smp -verbosity 9 -forceasm"
21 diff -Naur blank/fah.license 6.29-1/fah.license
22 --- blank/fah.license 1969-12-31 16:00:00.000000000 -0800
23 +++ 6.29-1/fah.license 2008-08-21 16:59:27.000000000 -0700
25 +Folding@Home distributed computing client
26 +Copyright 2001-2007. Stanford University. All Rights Reserved.
30 +Please carefully read the following terms and conditions before using this software. Use of this software
31 +indicates acceptance of this license agreement and disclaimer of all warranties.
33 +Disclaimer of Warranty:
35 +IN NO EVENT SHALL STANFORD UNIVERSITY BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL,
36 +OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
37 +DOCUMENTATION, EVEN IF STANFORD UNIVERSITY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38 +STANFORD UNIVERSITY SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOTLIMITED TO, THE IMPLIED
39 +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE AND ACCOMPANYING
40 +DOCUMENTATION PROVIDED HEREUNDER IS PROVIDED "AS IS". Folding@home HAS NO OBLIGATION TO PROVIDE
41 +MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
45 +You may use this software on a computer system only if you own the system or have the permission of the owner.
46 +You may not alter the software or associated data files.
47 +You may only use unmodified versions of Folding@home obtained through authorized distributors to connect
48 +to the Folding@Home servers. Use of other software to connect to the Folding@home servers is strictly prohibited.
49 +Distribution of this software is prohibited. It may only be obtained by downloading from Stanford's web site
50 +(http://folding.stanford.edu and pages linked therein) or the web site of one of our commercial partners (Sony, NVIDIA, and ATI).
51 diff -Naur blank/fah.rc.d 6.29-1/fah.rc.d
52 --- blank/fah.rc.d 1969-12-31 16:00:00.000000000 -0800
53 +++ 6.29-1/fah.rc.d 2008-08-21 17:00:48.000000000 -0700
58 +# Starts the Folding@Home client in the background
61 +. /etc/rc.d/functions
64 +PID=`pidof -o %PPID /opt/fah/fah6`
67 + stat_busy "Starting Folding@Home"
68 + if [ -z "$PID" ]; then
69 + if [ ! -z "$FAH_USER" ] ; then
70 + if [ ! -d "/opt/fah/$FAH_USER" ] ; then
71 + mkdir /opt/fah/$FAH_USER
72 + chown $FAH_USER /opt/fah/$FAH_USER
73 + if [ ! -z "$FAH_GRP" ] ; then
74 + chgrp $FAH_GRP /opt/fah/$FAH_USER
76 + chgrp users /opt/fah/$FAH_USER
78 + touch /opt/fah/$FAH_USER/client.cfg
80 + cat /opt/fah/client.cfg > /opt/fah/$FAH_USER/client.cfg
81 + cd /opt/fah/$FAH_USER
82 + su $FAH_USER -c "nice --adjustment 19 /opt/fah/fah6 -verbosity 9 > /opt/fah/$FAH_USER/myfah.log" &
85 + nice --adjustment 19 /opt/fah/fah6 -verbosity 9 > /opt/fah/myfah.log &
88 + if [ ! -z "$PID" -o $? -gt 0 ]; then
97 + stat_busy "Stopping Folding@Home"
98 + [ ! -z "$PID" ]&& kill $PID &> /dev/null
99 + if [ $? -gt 0 ]; then
114 + echo $"Usage: $0 {start|stop|restart}"