git: 29e5f29fc0c9 - stable/15 - rc: virtual_oss: Use required_modules instead of load_kld
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Nov 2025 00:52:16 UTC
The branch stable/15 has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=29e5f29fc0c9fa180b5ec07f8c80aa7428220bd7
commit 29e5f29fc0c9fa180b5ec07f8c80aa7428220bd7
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2025-11-11 12:07:36 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2025-11-18 00:51:24 +0000
rc: virtual_oss: Use required_modules instead of load_kld
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: imp, markj, emaste
Differential Revision: https://reviews.freebsd.org/D53616
(cherry picked from commit ac2aa9e869a16b28095364b2e14683df9885ac34)
---
libexec/rc/rc.d/virtual_oss | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libexec/rc/rc.d/virtual_oss b/libexec/rc/rc.d/virtual_oss
index b9c830617385..b8f1e7620582 100644
--- a/libexec/rc/rc.d/virtual_oss
+++ b/libexec/rc/rc.d/virtual_oss
@@ -20,6 +20,8 @@ start_cmd="${name}_start"
stop_cmd="${name}_stop"
status_cmd="${name}_status"
+required_modules="cuse"
+
configs=
pidpath="/var/run/${name}"
virtual_oss_default_args="\
@@ -53,7 +55,6 @@ virtual_oss_pids()
virtual_oss_precmd()
{
/usr/bin/install -d -m 0755 -o root "${pidpath}"
- load_kld cuse
}
start_instance()