Bug 192374 - Add new commands to rc(8): describe and extracommands
Summary: Add new commands to rc(8): describe and extracommands
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Hiroki Sato
URL: https://phabric.freebsd.org/D452
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-04 10:06 UTC by Lars Engels
Modified: 2020-07-07 01:35 UTC (History)
2 users (show)

See Also:


Attachments
Patch to add descriptions to most rc scripts in /etc/rc.d (44.22 KB, patch)
2014-08-04 15:52 UTC, Lars Engels
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.