Re: Silent or move to /dev/null alsactl restore out

From: <lumaro_at_disroot.org>
Date: Sat, 30 Nov 2024 12:56:49 +0100

El 2024-11-30 12:46, Laurent Bercot escribió:

>> `fdmove -c 2 1` is equivalent to shell `2>&1`. You're looking for
>> `redirfd
>> -w 2 /dev/null`.
>
> ... and *now* I understand what Luis wanted. Now that you're laying
> it out explicitly, it was simple, and I feel dumb. Sorry.
>
> --
> Laurent

It really is an incredible list, sorry for my bad exposure.

1) The problem => https://ibb.co/bvx3Zrm

2) Solved => https://ibb.co/SyF1fwN

3)Clean scripts*, very nice!!
---------------
  $ cat /etc/s6/sv/alsa/up
if -t { test -e /var/lib/alsa/asound.state }
redirfd -w 2 /dev/null
alsactl restore

  $ cat /etc/s6/sv/alsa/down
alsactl store
---------------
Thank you all again!! Works fine now !!!

I'm learning as fast as I can, I don't like to ask too many questions,
but this system is a bit hard to learn, a pleasure to have you there.
Luis.
Received on Sat Nov 30 2024 - 12:56:49 CET

This archive was generated by hypermail 2.4.0 : Sat Nov 30 2024 - 12:57:24 CET