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:
+3
-3
@@ -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";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user