git: bc2055b94576 - main - sbin/devd/snd.conf: Add missing -n options to sysrc calls
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 May 2026 20:15:08 UTC
The branch main has been updated by jrm:
URL: https://cgit.FreeBSD.org/src/commit/?id=bc2055b94576078453b372f537ef40bc4e3c18e4
commit bc2055b94576078453b372f537ef40bc4e3c18e4
Author: Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2026-05-21 19:43:05 +0000
Commit: Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2026-05-21 20:14:45 +0000
sbin/devd/snd.conf: Add missing -n options to sysrc calls
Reviewed by: christos
Fixes: 70e27ecba518 (virtual_oss: Introduce virtual_oss_default_control_device rc variable)
Sponsored by: The FreeBSD Foundation
Pull Request: https://ron-dev.freebsd.org/FreeBSD/src/pulls/36
---
sbin/devd/snd.conf | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sbin/devd/snd.conf b/sbin/devd/snd.conf
index e2dc6d94a299..3fc1cb9f0b0e 100644
--- a/sbin/devd/snd.conf
+++ b/sbin/devd/snd.conf
@@ -8,7 +8,7 @@ notify 0 {
# Other audio servers or device switching commands can be used here
# instead of virtual_oss(8).
action "/usr/sbin/virtual_oss_cmd \
- /dev/$(sysrc virtual_oss_default_control_device) -R /dev/$cdev";
+ /dev/$(sysrc -n virtual_oss_default_control_device) -R /dev/$cdev";
};
notify 0 {
@@ -19,7 +19,7 @@ notify 0 {
# See comment above.
action "/usr/sbin/virtual_oss_cmd \
- /dev/$(sysrc virtual_oss_default_control_device) -P /dev/$cdev";
+ /dev/$(sysrc -n virtual_oss_default_control_device) -P /dev/$cdev";
};
notify 0 {
@@ -30,5 +30,5 @@ notify 0 {
# No connected devices. Disable both recording and playback to avoid
# repeated virtual_oss error messages.
action "/usr/sbin/virtual_oss_cmd \
- /dev/$(sysrc virtual_oss_default_control_device) -f /dev/null";
+ /dev/$(sysrc -n virtual_oss_default_control_device) -f /dev/null";
};