Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79574 - The init script for foldingathome could give a better status message
Summary: The init script for foldingathome could give a better status message
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-26 07:03 UTC by Yosef Meller
Modified: 2005-02-04 12:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Adds a status() function to the init-script to add requested feature (fah_initscript.patch,230 bytes, patch)
2005-01-26 07:05 UTC, Yosef Meller
Details | Diff
A patch that is OK with the initscript policies (fah_initscript_2.patch,561 bytes, patch)
2005-02-04 12:14 UTC, Yosef Meller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yosef Meller 2005-01-26 07:03:09 UTC
foldingathome provides for status information built in, kept in the file 'unitinfo.txt'. That information could be used to give a status message for the foldingathome service.

Reproducible: Always
Steps to Reproduce:
Comment 1 Yosef Meller 2005-01-26 07:05:26 UTC
Created attachment 49560 [details, diff]
Adds a status() function to the init-script to add requested feature

The patch is against the init-script from foldingathome-4.0.0
Comment 2 Brandon Low (RETIRED) gentoo-dev 2005-02-03 09:55:09 UTC
I will add this to 5.0.2-r2 later today.
Comment 3 Brandon Low (RETIRED) gentoo-dev 2005-02-03 09:59:10 UTC
I lied, this will not be done, because status in gentoo is just started or stopped.
Comment 4 Yosef Meller 2005-02-04 12:14:00 UTC
Created attachment 50374 [details, diff]
A patch that is OK with the initscript policies

I've changed this to give the status message via a new option. Now run
/etc/init.d/foldingathome unitinfo.
Comment 5 Brandon Low (RETIRED) gentoo-dev 2005-02-04 12:22:14 UTC
Hmm, sounds pretty good, I'll double check on this, make it handle multiple clients (as we have supported in 5.0.2) and add it.
Comment 6 Brandon Low (RETIRED) gentoo-dev 2005-02-04 12:54:42 UTC
Fixed in CVS.  Thanks, I enhanced the patch a bit, but I think you'll like it.  foldingathome-5.0.2-r2 added, I will try to push it to stable soon.