summaryrefslogtreecommitdiffstats
path: root/abs/extra/foldingathome/run
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-04 21:43:33 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-04 21:43:33 (GMT)
commit03a4f6f5c9a43baf1dd7d5e9b44e5113b90ba35b (patch)
tree5d7dd7d95011fda5712356e67792d4d89b3d3f1f /abs/extra/foldingathome/run
parent251aa67903af196b8cfe6eac0ff04a37a456238d (diff)
downloadlinhes_pkgbuild-03a4f6f5c9a43baf1dd7d5e9b44e5113b90ba35b.zip
linhes_pkgbuild-03a4f6f5c9a43baf1dd7d5e9b44e5113b90ba35b.tar.gz
linhes_pkgbuild-03a4f6f5c9a43baf1dd7d5e9b44e5113b90ba35b.tar.bz2
foldingathome: updated client to v7
refs #872
Diffstat (limited to 'abs/extra/foldingathome/run')
-rw-r--r--abs/extra/foldingathome/run26
1 files changed, 0 insertions, 26 deletions
diff --git a/abs/extra/foldingathome/run b/abs/extra/foldingathome/run
deleted file mode 100644
index cd4a072..0000000
--- a/abs/extra/foldingathome/run
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-export TERM=linux
-. /etc/rc.conf
-. /etc/rc.d/functions
-stat_runit "Starting folding@home"
-
-FOLDING_DIR=/myth/foldingathome/$(hostname)
-
-if [ -d $FOLDING_DIR ] ; then
- cd $FOLDING_DIR
- # Ensure that the client configuration file has the same details as /etc/systemconfig
-
- source /etc/systemconfig
-
- if [ -n "$foldingusername" ] ; then
- sed -i 's/username=.*$/username='$foldingusername'/g' $FOLDING_DIR/client.cfg
- fi
-
- if [ -n "$foldingworksize" ] ; then
- sed -i 's/bigpackets=.*$/bigpackets='$foldingworksize'/g' $FOLDING_DIR/client.cfg
- fi
-
- # No need to direct output to a log file becase a log file
- # will automatically be placed in $FOLDING_DIR
- exec /usr/bin/fah6 &> /dev/null < /dev/null
-fi