Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 2026 13:56:07 +0000
From:      Jose Luis Duran <jlduran@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8e08080ee581 - main - rc.conf: Fix typo in comment
Message-ID:  <69e23bf7.45154.6adbec06@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by jlduran:

URL: https://cgit.FreeBSD.org/src/commit/?id=8e08080ee581dfd30c128d032035da7b6ae44463

commit 8e08080ee581dfd30c128d032035da7b6ae44463
Author:     Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2026-04-17 13:55:16 +0000
Commit:     Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2026-04-17 13:55:16 +0000

    rc.conf: Fix typo in comment
    
    The correct path is /etc/defaults/rc.conf (defaults in plural).
    
    Reviewed by:    netchild
    Fixes:          cc4eb1ea1040 ("Add support for a /etc/defaults/vendor.conf override file")
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D56456
---
 libexec/rc/rc.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf
index c4cc6dea02a2..75420e42cdeb 100644
--- a/libexec/rc/rc.conf
+++ b/libexec/rc/rc.conf
@@ -791,7 +791,7 @@ if [ -z "${source_rc_confs_defined}" ]; then
 	}
 fi
 
-# Allow vendors to override FreeBSD defaults in /etc/default/rc.conf
+# Allow vendors to override FreeBSD defaults in /etc/defaults/rc.conf
 # without the need to carefully manage /etc/rc.conf.
 if [ -r /etc/defaults/vendor.conf ]; then
 	. /etc/defaults/vendor.conf


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e23bf7.45154.6adbec06>