git: 188ddc15e546 - main - virtual_oss: Clean up rcorder

From: Christos Margiolis <christos_at_FreeBSD.org>
Date: Fri, 10 Oct 2025 13:07:31 UTC
The branch main has been updated by christos:

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

commit 188ddc15e5460b3abfb2ad5492557911465bedc1
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2025-10-10 13:07:23 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2025-10-10 13:07:23 +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
---
 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