Bug 192374

Summary: Add new commands to rc(8): describe and extracommands
Product: Base System Reporter: Lars Engels <lme>
Component: confAssignee: Hiroki Sato <hrs>
Status: Closed FIXED    
Severity: Affects Some People CC: hrs, mhorne
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
URL: https://phabric.freebsd.org/D452
Attachments:
Description Flags
Patch to add descriptions to most rc scripts in /etc/rc.d none

Description Lars Engels freebsd_committer freebsd_triage 2014-08-04 10:06:04 UTC
The patch adds to new commands to rc(8). This is what can be done with it:

$ service sshd describe
Secure Shell Daemon

$ service sshd extracommands
configtest keygen reload

It also adds a "descr" variable to sshd's rc script and documents the additional rc options. See https://phabric.freebsd.org/D451 how to print them using service(8).
Comment 1 Lars Engels freebsd_committer freebsd_triage 2014-08-04 15:52:07 UTC
Created attachment 145347 [details]
Patch to add descriptions to most rc scripts in /etc/rc.d

A first draft of descriptions for most rc scripts in /etc/rc.d

Some could be worded better, some have only "XXX" set.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2014-08-10 01:36:53 UTC
Over to maintainers.
Comment 3 Hiroki Sato freebsd_committer freebsd_triage 2014-11-04 00:46:44 UTC
Take.
Comment 4 Mitchell Horne freebsd_committer freebsd_triage 2020-07-07 01:35:11 UTC
Looks like this was committed in 2016: https://reviews.freebsd.org/D452

Closing this.