summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-05-05 20:03:38 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-05-05 20:03:38 +0000
commit51258d931aa0967f0d284ec0b9913f3a8915939c (patch)
tree5f468b5cb200ca7e537a63bae874c433245d3d42 /app-sci/foldingathome
parentInitial import (diff)
downloadgentoo-2-51258d931aa0967f0d284ec0b9913f3a8915939c.tar.gz
gentoo-2-51258d931aa0967f0d284ec0b9913f3a8915939c.tar.bz2
gentoo-2-51258d931aa0967f0d284ec0b9913f3a8915939c.zip
Closes #20327
Diffstat (limited to 'app-sci/foldingathome')
-rw-r--r--app-sci/foldingathome/ChangeLog6
-rw-r--r--app-sci/foldingathome/files/folding-init.d15
2 files changed, 14 insertions, 7 deletions
diff --git a/app-sci/foldingathome/ChangeLog b/app-sci/foldingathome/ChangeLog
index 9ff8e9f56e25..3703a6db314f 100644
--- a/app-sci/foldingathome/ChangeLog
+++ b/app-sci/foldingathome/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-sci/foldingathome
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/foldingathome/ChangeLog,v 1.5 2003/04/23 08:47:02 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/foldingathome/ChangeLog,v 1.6 2003/05/05 20:03:38 aliz Exp $
+
+ 05 May 2003; Daniel Ahlberg <aliz@gentoo.org> files/folding-init.d :
+ Fixed stop() in init script. Fix by
+ Roderick van Domburg <r.s.a.vandomburg@student.utwente.nl> in #20327.
23 Apr 2003; Daniel Ahlberg <aliz@gentoo.org> foldingathome-3.2.4.ebuild, files/folding-init.d :
Now has the version number in SRC_URI and also uses the newer client if we're running >=glibc-2.3.0.
diff --git a/app-sci/foldingathome/files/folding-init.d b/app-sci/foldingathome/files/folding-init.d
index f2e2bbaea2a0..86f37874a8bc 100644
--- a/app-sci/foldingathome/files/folding-init.d
+++ b/app-sci/foldingathome/files/folding-init.d
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/foldingathome/files/folding-init.d,v 1.3 2003/04/23 08:20:25 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/foldingathome/files/folding-init.d,v 1.4 2003/05/05 20:03:38 aliz Exp $
start() {
@@ -12,10 +12,13 @@ start() {
}
stop() {
- ebegin "Stopping Folding@home"
- killall FahCore_78.exe > /dev/null
- if ! $? ; then
- killall foldingathome
- fi
+ ebegin "Stopping Folding@Home"
+ cd /opt/foldingathome
+ for I in FahCore*.exe
+ do
+ killall -q $I >/dev/null
+ done
+ killall foldingathome >/dev/null
eend $?
}
+