1
0
mirror of https://git.FreeBSD.org/src.git synced 2026-06-02 11:24:32 +00:00

sbin/devd/snd.conf: Add missing -n options to sysrc calls

Reviewed by:	christos
Fixes:		70e27ecba5 (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
This commit is contained in:
Joseph Mingrone
2026-05-21 16:43:05 -03:00
parent f5433e7840
commit bc2055b945
+3 -3
View File
@@ -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";
};