commit 38cc4a1ff1c302f0d19fb22feffccec25ea0fa65
parent 941209d7307e74de90bff8722746937e1c711171
Author: rbckman <robinbackman@gmail.com>
Date: Tue, 1 Nov 2016 15:09:18 +0000
bug
Diffstat:
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/install.sh b/install.sh
@@ -41,12 +41,7 @@ EOF
while true; do
read -p "Do you have a USB sound card? Make it default (y)es or (n)o?" yn
case $yn in
- [Yy]* ) echo "USB sound card to default"; break;;
- [Nn]* ) exit;;
- * ) echo "Please answer yes or no.";;
- esac
-done
-
+ [Yy]* ) echo "writing to /etc/modprobe.d/alsa-base.conf";
cat >> /etc/modprobe.d/alsa-base.conf << EOF
#set index value
options snd_usb_audio index=0
@@ -54,7 +49,12 @@ options snd_bcm2835 index=1
#reorder
options snd slots=snd_usb_audio, snd_bcm2835
-EOF
+EOF
+ break;;
+ [Nn]* ) exit;;
+ * ) echo "Please answer yes or no.";;
+ esac
+done
while true; do
read -p "Do you wish to add Robs special hacking tools & configurations (y)es or (n)o?" yn