git: e3d875b79ddc - stable/14 - rc.d: Fix mountd service script.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Aug 2025 11:51:51 UTC
The branch stable/14 has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=e3d875b79ddc9801b9c9ff738a050a52d8834952
commit e3d875b79ddc9801b9c9ff738a050a52d8834952
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-08-05 09:29:36 +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
(cherry picked from commit aa183bc7f96fdd51c4a6ead5586a1cb1ecec6bb2)
---
libexec/rc/rc.d/mountd | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libexec/rc/rc.d/mountd b/libexec/rc/rc.d/mountd
index 39b16d604321..0c35d9ff1e9f 100755
--- a/libexec/rc/rc.d/mountd
+++ b/libexec/rc/rc.d/mountd
@@ -68,4 +68,7 @@ mountd_precmd()
}
load_rc_config $name
+load_rc_config nfsd
+load_rc_config zfs
+
run_rc_command "$1"