`fdmove -c 2 1` is equivalent to shell `2>&1`. You're looking for `redirfd
-w 2 /dev/null`.
Em sáb., 30 de nov. de 2024, 03:54, lumaro.disroot.org via supervision <
supervision_at_list.skarnet.org> escreveu:
> Hi, all.
> ----------------
> $ doas alsactl restore
> alsa-lib parser.c:2796:(load_toplevel_config) Unable to find the
> top-level configuration file '/usr/share/alsa/ucm2/ucm.conf'.
> alsa-lib main.c:1554:(snd_use_case_mgr_open) error: failed to import
> hw:0 use case configuration -2
> alsa-lib parser.c:2796:(load_toplevel_config) Unable to find the
> top-level configuration file '/usr/share/alsa/ucm2/ucm.conf'.
> alsa-lib main.c:1554:(snd_use_case_mgr_open) error: failed to import
> hw:1 use case configuration -2
>
> /home/luis
> $ doas alsactl restore 2>/dev/null
>
> /home/luis
> $ cat /etc/s6/sv/alsa/up
> #!/bin/execlineb -P
> if -t { test -e /var/lib/alsa/asound.state }
> fdmove -c 2 1
> exec alsactl restore
> ----------------
>
> ==> fdmove -c 2 1 dont work.
>
> What am I doing wrong? Any ideas? Thanks!
> Luis.
Received on Sat Nov 30 2024 - 12:23:00 CET