aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Margiolis <christos@FreeBSD.org>2026-05-20 15:51:39 +0000
committerChristos Margiolis <christos@FreeBSD.org>2026-06-09 10:46:41 +0000
commitb896c159135ddb9856fcee68f1ebc151bd21dfbe (patch)
tree221d8da08c12c3cbeac6867ef90db353002a3a0f
parent6a1e761dc47d36f550393cb90cc0e321c9cfb3fb (diff)
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)
-rwxr-xr-xusr.sbin/bsdinstall/scripts/services5
1 files changed, 5 insertions, 0 deletions
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 \