Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37814090
en ru br
ALT Linux repos
S:7.8.4-alt4.1

Group :: Sciences/Other
RPM: boinc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: fix-boinc-client-service.patch
Download


 client/scripts/boinc-client.in |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/client/scripts/boinc-client.in b/client/scripts/boinc-client.in
index 920dbfc..e0f12e0 100755
--- a/client/scripts/boinc-client.in
+++ b/client/scripts/boinc-client.in
@@ -193,13 +193,16 @@ else
       fi
       function echo_success () { $printcol "[OK]" ; }
       function echo_failure () { $printcol "[FAILED]" ; }
-      function echo_warning () { $printcol "[WARNING]" ; }
-      function killproc() {
-             PID=`local_pidof $1`
-             [ $PID ] && kill $PID 
-      }
 fi
 
+function echo_warning () {
+	printf '\033[60G%s' "[WARNING]"
+}
+function killproc() {
+	PID=`local_pidof $1`
+	[ $PID ] && kill $PID 
+}
+
 # check if we have pidof.  If not use ps and grep for the same job.
 if [ -x /sbin/pidof ] ; then 
   function local_pidof() { 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin