alsa/alsa-init.sh

7 lines
139 B
Bash

#!/bin/sh
# alsa-init card#
/usr/bin/set_default_volume -f $1 >/dev/null 2>&1
exec /usr/sbin/alsactl -F restore $1 >/dev/null 2>&1
exit 0