diff options
| author | Joseph Mingrone <jrm@FreeBSD.org> | 2026-05-21 19:43:05 +0000 |
|---|---|---|
| committer | Joseph Mingrone <jrm@FreeBSD.org> | 2026-05-21 20:14:45 +0000 |
| commit | bc2055b94576078453b372f537ef40bc4e3c18e4 (patch) | |
| tree | 78bbc5404775eddc1f8972f51118dcdff82bf873 | |
| parent | f5433e784078ee139a37eb43ffa1d9e0e1f4f217 (diff) | |
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
| -rw-r--r-- | sbin/devd/snd.conf | 6 |
1 files 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"; }; |
