I would like to have a variable within the respective initscript describing what it does and optionally and additional function like --description that prints out the content of this variable. I think, it is not overly clear to many users what certain initscripts does due to cryptic names or the lack of experience from the user. This is particularly true if the user is a newbie or not very familiar with system-administration. such a description would be very helpful to these users. Reproducible: Always http://forums.gentoo.org/viewtopic-p-4130478.html#4130478
please don't play with the default values when filing a bug unless you know what you're doing.
(In reply to comment #1) > please don't play with the default values when filing a bug unless you know > what you're doing. > Does this refer to the reproducible:always entry? Well, if so, I will leave the value unchanged next time.
I've committed a patch to our svn repo that allows for the following # Extra option opts="save" description="Service foo does bar" description_save="saves foo" #/etc/init.d/foo describe * Service foo does bar * save: saves foo Also, two new functions have been added to librc.so : char **rc_service_options (const char *service); char *rc_service_description (const char *service, const char *option); The first one returns a string array of extra options the init script has. The result needs to be freed with rc_strlist_free. The second one returns the description of the service (if option is NULL) or the option. This needs to be freed with free.