Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2021 20:10:11 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 624a34b87b27 - main - rc.d/mixer: Use -o flag instead of -s flag to get current mixer state.
Message-ID:  <202109222010.18MKABhW076456@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by hselasky:

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

commit 624a34b87b2757cb33b33a5b40821990c8bce673
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2021-09-22 20:09:23 +0000
Commit:     Hans Petter Selasky <hselasky@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
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109222010.18MKABhW076456>