svn commit: r339971 - in head: libexec/rc share/man/man5 share/man/man8
Devin Teske
dteske at freebsd.org
Thu Nov 1 16:36:35 UTC 2018
> On 31 Oct 2018, at 11:06 PM, Alex Kozlov <ak at FreeBSD.org> wrote:
>
>> On Wed, Oct 31, 2018 at 08:37:12PM +0000, Devin Teske wrote:
>> Author: dteske
>> Date: Wed Oct 31 20:37:12 2018
>> New Revision: 339971
>> URL: https://svnweb.freebsd.org/changeset/base/339971
>>
>> Log:
>> Add new rc keywords: enable, disable, delete
>>
>> This adds new keywords to rc/service to enable/disable a service's
>> rc.conf(5) variable and "delete" to remove the variable.
> The enable command is just one typo away from enabled, so it's quite
> easy to enable rc-script instead of checking if it enabled.
>
Thankfully, easily fixed unlike so many other one-character typos (e.g., one involving rm)
—
Devin
>> When the "service_delete_empty" variable in rc.conf(5) is set to "YES"
>> (default is "NO") an rc.conf.d file (in /etc/ or /usr/local/etc) is
>> deleted if empty after modification using "service $foo delete".
>>
>> Submitted by: lme (modified)
>> Reviewed by: 0mp (previous version), lme, bcr
>> Relnotes: yes
>> Sponsored by: Smule, Inc.
>> Differential Revision: https://reviews.freebsd.org/D17113
>
>
> --
> Alex
>
More information about the svn-src-all
mailing list