summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-11-10 21:42:49 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-11-10 21:42:49 +0000
commit7d21f148623b6ca00dddf81f0392e9afc0282a4a (patch)
treeed9a95752a97000c7838a75774bc54fc5bedbb87 /sci-misc
parentMask games-puzzle/quintalign, games-sports/kbilliards, games-strategy/kpictor... (diff)
downloadgentoo-2-7d21f148623b6ca00dddf81f0392e9afc0282a4a.tar.gz
gentoo-2-7d21f148623b6ca00dddf81f0392e9afc0282a4a.tar.bz2
gentoo-2-7d21f148623b6ca00dddf81f0392e9afc0282a4a.zip
Update initscript to fix bug #289853.
(Portage version: 2.2_rc48/cvs/Linux x86_64)
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/boinc/ChangeLog5
-rw-r--r--sci-misc/boinc/files/boinc.init9
2 files changed, 9 insertions, 5 deletions
diff --git a/sci-misc/boinc/ChangeLog b/sci-misc/boinc/ChangeLog
index 7a33372fad50..be824f07181f 100644
--- a/sci-misc/boinc/ChangeLog
+++ b/sci-misc/boinc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-misc/boinc
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.79 2009/11/10 21:14:27 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.80 2009/11/10 21:42:48 scarabeus Exp $
+
+ 10 Nov 2009; Tomáš Chvátal <scarabeus@gentoo.org> files/boinc.init:
+ Update initscript to fix bug #289853.
*boinc-6.10.18 (10 Nov 2009)
diff --git a/sci-misc/boinc/files/boinc.init b/sci-misc/boinc/files/boinc.init
index b66da328a69c..dcc9b8b2f15d 100644
--- a/sci-misc/boinc/files/boinc.init
+++ b/sci-misc/boinc/files/boinc.init
@@ -100,9 +100,9 @@ attach() {
printf " Enter your Account Key: "
read key
- RC_QUIET_STDOUT="yes" svc_status
+ RC_QUIET_STDOUT="yes" status
if [ $? = 1 ]; then
- svc_start
+ start
fi
ebegin "Attaching to project"
# we have to work in runtime directory
@@ -125,6 +125,7 @@ stop() {
}
restart() {
- svc_stop
- svc_start
+ stop
+ sleep 3
+ start
}