summaryrefslogtreecommitdiffstats
path: root/abs/extra/foldingathome/foldingathome.install
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/foldingathome.install
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/foldingathome.install')
-rw-r--r--abs/extra/foldingathome/foldingathome.install47
1 files changed, 0 insertions, 47 deletions
diff --git a/abs/extra/foldingathome/foldingathome.install b/abs/extra/foldingathome/foldingathome.install
deleted file mode 100644
index 20e48d1..0000000
--- a/abs/extra/foldingathome/foldingathome.install
+++ /dev/null
@@ -1,47 +0,0 @@
-post_install() {
- # Check for an R5.5 fah installation.
- r5_fah_dir=/myth/folding@home
- r6_fah_dir=/myth/foldingathome/$(hostname)
- if [ -d "$r5_fah_dir" ] ; then
- if [ -d "$r6_fah_dir" ] ; then
- cat << 'EOM'
- --> You have an R5.5 and an R6 folding directory at the same time!
- --> you should manually delete the R5.5 directory:
- --> $r5_fah_dir
- --> The directroy used on R6 will be:
- --> $r6_fah_dir
-EOM
- else
- mkdir -p /myth/foldingathome
- mv $r5_fah_dir $r6_fah_dir
- fi
- else
- if [ ! -d "$r6_fah_dir" ] ; then
- mkdir -p $r6_fah_dir
- cat > $r6_fah_dir/client.cfg << 'EOM'
-[settings]
-username=LinHES
-team=50975
-passkey=
-asknet=no
-bigpackets=normal
-machineid=1
-
-[http]
-active=no
-host=localhost
-port=8080
-EOM
- fi
- fi
- rm -fr $r6_fah_dir/index.html
- ln -s $r6_fah_dir/MyFolding.html $r6_fah_dir/index.html
- ln -s $r6_fah_dir /data/srv/httpd/htdocs/foldingathome
- /sbin/add_service.sh fah
-}
-
-pre_remove() {
- sv stop fah
- /sbin/remove_service.sh fah
-}
-