From owner-svn-src-all@freebsd.org Thu Nov 1 16:36:35 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12A2D10F7E3A; Thu, 1 Nov 2018 16:36:35 +0000 (UTC) (envelope-from devin@shxd.cx) Received: from shxd.cx (mail.shxd.cx [64.201.244.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ACE4C7E84C; Thu, 1 Nov 2018 16:36:34 +0000 (UTC) (envelope-from devin@shxd.cx) Received: from [64.201.244.132] (port=53358 helo=[10.0.0.103]) by shxd.cx with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1gIFxL-000KGU-DS; Thu, 01 Nov 2018 16:36:27 +0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: svn commit: r339971 - in head: libexec/rc share/man/man5 share/man/man8 From: Devin Teske X-Mailer: iPhone Mail (15D60) In-Reply-To: <20181101060617.GA51661@ravenloft.kiev.ua> Date: Thu, 1 Nov 2018 09:36:27 -0700 Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <92BDCE19-B205-413E-AAE3-CEBEB45A510B@freebsd.org> References: <201810312037.w9VKbCCX029120@repo.freebsd.org> <20181101060617.GA51661@ravenloft.kiev.ua> To: Alex Kozlov Sender: devin@shxd.cx X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2018 16:36:35 -0000 > On 31 Oct 2018, at 11:06 PM, Alex Kozlov wrote: >=20 >> 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 >>=20 >> Log: >> Add new rc keywords: enable, disable, delete >>=20 >> 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. >=20 Thankfully, easily fixed unlike so many other one-character typos (e.g., one= involving rm) =E2=80=94=20 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". >>=20 >> Submitted by: lme (modified) >> Reviewed by: 0mp (previous version), lme, bcr >> Relnotes: yes >> Sponsored by: Smule, Inc. >> Differential Revision: https://reviews.freebsd.org/D17113 >=20 >=20 > --=20 > Alex >=20