> On 31 Oct 2018, at 11:06 PM, Alex Kozlov <a...@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 > _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"