git: 624a34b87b27 - main - rc.d/mixer: Use -o flag instead of -s flag to get current mixer state.

Hans Petter Selasky hselasky at FreeBSD.org
Wed Sep 22 20:10:12 UTC 2021


The branch main has been updated by hselasky:

URL: https://cgit.FreeBSD.org/src/commit/?id=624a34b87b2757cb33b33a5b40821990c8bce673

commit 624a34b87b2757cb33b33a5b40821990c8bce673
Author:     Hans Petter Selasky <hselasky at FreeBSD.org>
AuthorDate: 2021-09-22 20:09:23 +0000
Commit:     Hans Petter Selasky <hselasky at FreeBSD.org>
CommitDate: 2021-09-22 20:09:36 +0000

    rc.d/mixer: Use -o flag instead of -s flag to get current mixer state.
    
    Submitted by:   christos@
    Differential Revision:  https://reviews.freebsd.org/D31636
    Sponsored by:   NVIDIA Networking
---
 libexec/rc/rc.d/mixer | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/rc/rc.d/mixer b/libexec/rc/rc.d/mixer
index d815fb75425e..c8cd544779cd 100755
--- a/libexec/rc/rc.d/mixer
+++ b/libexec/rc/rc.d/mixer
@@ -58,7 +58,7 @@ mixer_save()
 
 	dev="/dev/${1}"
 	if [ -r ${dev} ]; then
-		/usr/sbin/mixer -f ${dev} -s > /var/db/${1}-state 2>/dev/null
+		/usr/sbin/mixer -f ${dev} -o > /var/db/${1}-state 2>/dev/null
 	fi
 }
 


More information about the dev-commits-src-all mailing list