Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2025 13:01:31 GMT
From:      Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: aa183bc7f96f - main - rc.d: Fix mountd service script.
Message-ID:  <202507241301.56OD1Ved097215@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by des:

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

commit aa183bc7f96fdd51c4a6ead5586a1cb1ecec6bb2
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2025-07-24 13:00:37 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2025-07-24 13:00:47 +0000

    rc.d: Fix mountd service script.
    
    This script references variables beloning to the nfsd and zfs services,
    therefore it needs to load their configurations.
    
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D51473
---
 libexec/rc/rc.d/mountd | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libexec/rc/rc.d/mountd b/libexec/rc/rc.d/mountd
index 8c0aa87e1d13..dfd2431f9c35 100755
--- a/libexec/rc/rc.d/mountd
+++ b/libexec/rc/rc.d/mountd
@@ -70,6 +70,8 @@ mountd_precmd()
 }
 
 load_rc_config $name
+load_rc_config nfsd
+load_rc_config zfs
 
 # precmd is not compatible with svcj
 mountd_svcj="NO"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507241301.56OD1Ved097215>