git: b896c159135d - stable/15 - bsdinstall: Add virtual_oss service option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Jun 2026 10:46:53 UTC
The branch stable/15 has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=b896c159135ddb9856fcee68f1ebc151bd21dfbe
commit b896c159135ddb9856fcee68f1ebc151bd21dfbe
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-05-20 15:51:39 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-06-09 10:46:41 +0000
bsdinstall: Add virtual_oss service option
Since virtual_oss is now part of base, there is no reason not to provide
an installer option to enable it, and make it more visible to new users,
who might also benefit from the devd rules in /etc/devd/snd.conf, which
use virtual_oss, as well as 8532b4a43636 ("rc: virtual_oss: Create a
loopback device in the default configuration").
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: ivy
Pull-Request: https://ron-dev.freebsd.org/FreeBSD/src/pulls/31
(cherry picked from commit eb5aa5c337c8d52fc1a7e867f526ca770bbe6612)
---
usr.sbin/bsdinstall/scripts/services | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/usr.sbin/bsdinstall/scripts/services b/usr.sbin/bsdinstall/scripts/services
index 110b6f321ed1..814ce1f95753 100755
--- a/usr.sbin/bsdinstall/scripts/services
+++ b/usr.sbin/bsdinstall/scripts/services
@@ -71,6 +71,11 @@ if [ -x "${BSDINSTALL_CHROOT}/etc/rc.d/moused" ]; then
moused \"PS/2 mouse pointer on console\" ${moused_enable:-off}"
fi
+if [ -x "${BSDINSTALL_CHROOT}/etc/rc.d/virtual_oss" ]; then
+ DAEMON_OPTIONS="$DAEMON_OPTIONS \
+ virtual_oss \"Sound server\" ${virtual_oss_enable:-off}"
+fi
+
exec 5>&1
DAEMONS=$(eval bsddialog --backtitle \"$OSNAME Installer\" \
--title \"System Configuration\" --no-cancel --separate-output \