Improve possible audio module issue message

This commit is contained in:
Luis Guzmán 2020-04-27 20:18:33 -05:00
parent e98d2234e0
commit 55bbdc7938
1 changed files with 7 additions and 6 deletions

View File

@ -65,15 +65,16 @@ modprobe snd-aloop
echo "snd-aloop" >> /etc/modules echo "snd-aloop" >> /etc/modules
if [ "$(lsmod | grep snd_aloop | head -n 1 | cut -d " " -f1)" = "snd_aloop" ]; then if [ "$(lsmod | grep snd_aloop | head -n 1 | cut -d " " -f1)" = "snd_aloop" ]; then
echo " echo "
#-------------------------------------------------- #-----------------------------------------------------------------------
# Audio driver seems - OK. # Audio driver seems - OK.
#--------------------------------------------------" #-----------------------------------------------------------------------"
else else
echo " echo "
#-------------------------------------------------- #-----------------------------------------------------------------------
# Seems to be an issue with your audio driver, # Your audio driver might not be able to load, once the installation
# please review your hw setup. # is complete and server restarted, please run: `lsmod | grep snd_aloop'
#--------------------------------------------------" # to make sure it did. If not, any feedback for your setup is welcome.
#-----------------------------------------------------------------------"
read -n 1 -s -r -p "Press any key to continue...$'\n' read -n 1 -s -r -p "Press any key to continue...$'\n'
" "
fi fi