Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 475854

Summary: add "status" to rc-config
Product: Gentoo Hosted Projects Reporter: Tanktalus
Component: eselectAssignee: Gentoo eselect Team <eselect>
Status: UNCONFIRMED ---    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tanktalus 2013-07-05 16:17:47 UTC
rc-config show will show the status of everything in a runlevel, but sometimes I want to check the status of a specific init script, and either I don't remember which runlevel it's in, or it's not in any runlevel (I start it manually).

rc-config status <script> would be really useful.  (Doubly-so if there were a bash completion for it.)

Reproducible: Always
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-07-05 16:27:49 UTC
Note that you can do `/etc/init.d/<script> status`.
Comment 2 Tanktalus 2013-07-05 16:40:59 UTC
Oh, that's what I do.  But rc-config can be significantly less typing, and when I'm checking status on three or four or five scripts, hitting up-arrow, ctrl-backspace, and then typing the next script is definitely easier :)

I can definitely write my own script, I just thought this would be a logical place to put it.