git: 2a6c17544e00 - stable/15 - virtual_oss: Clean up rcorder
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 10 Oct 2025 21:23:49 UTC
The branch stable/15 has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=2a6c17544e00b2f1a081bab501c079e5d70aa74c
commit 2a6c17544e00b2f1a081bab501c079e5d70aa74c
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2025-10-10 13:07:23 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2025-10-10 21:23:31 +0000
virtual_oss: Clean up rcorder
sndiod is part of audio/sndio, so we should avoid referencing a port
utility from base.
We should also require NETWORKING for the service to start, since
virtual_oss can be configured to send audio through the network.
Sponsored by: The FreeBSD Foundation
MFC after: 1 day
Reviewed by: des, markj, emaste
Differential Revision: https://reviews.freebsd.org/D53019
(cherry picked from commit 188ddc15e5460b3abfb2ad5492557911465bedc1)
---
libexec/rc/rc.d/virtual_oss | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libexec/rc/rc.d/virtual_oss b/libexec/rc/rc.d/virtual_oss
index 4f5c34ce03f3..b9c830617385 100644
--- a/libexec/rc/rc.d/virtual_oss
+++ b/libexec/rc/rc.d/virtual_oss
@@ -1,8 +1,8 @@
#!/bin/sh
# PROVIDE: virtual_oss
-# REQUIRE: kld ldconfig
-# BEFORE: LOGIN sndiod
+# REQUIRE: NETWORKING kld ldconfig
+# BEFORE: LOGIN
# KEYWORD: shutdown
. /etc/rc.subr