diff options
| author | Christos Margiolis <christos@FreeBSD.org> | 2025-11-11 12:07:36 +0000 |
|---|---|---|
| committer | Christos Margiolis <christos@FreeBSD.org> | 2025-11-11 12:07:36 +0000 |
| commit | ac2aa9e869a16b28095364b2e14683df9885ac34 (patch) | |
| tree | ebf702cf43d8ed4cd9659a7403c3ecb266836239 | |
| parent | 7dc58828f494ae8fc06ef014b01b2dbea855091b (diff) | |
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
| -rw-r--r-- | libexec/rc/rc.d/virtual_oss | 3 |
1 files changed, 2 insertions, 1 deletions
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() |
