Lines 50-56
Link Here
|
50 |
|
50 |
|
51 |
load_modules() { |
51 |
load_modules() { |
52 |
# List of drivers for each card. |
52 |
# List of drivers for each card. |
53 |
DRIVERS="$(modprobe -c | grep -E "^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]]" | awk '{print $3}')" |
53 |
DRIVERS="$(modprobe -c | grep -E "^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]]" | awk '{print $2}')" |
54 |
|
54 |
|
55 |
# Fall back on the automated aliases if we don't have ALSA configured properly... |
55 |
# Fall back on the automated aliases if we don't have ALSA configured properly... |
56 |
if [ -z "${DRIVERS}" ] && ! ([ -d /proc/asound ] && [ -z "$(grep ' no soundcards ' /proc/asound/cards)" ]); then |
56 |
if [ -z "${DRIVERS}" ] && ! ([ -d /proc/asound ] && [ -z "$(grep ' no soundcards ' /proc/asound/cards)" ]); then |