|
|
@@ -420,16 +420,17 @@ if [[ "$setupsound" =~ ^[yY]$ ]] ; then
|
|
|
echo ' adding> snd-bcm2835'
|
|
|
sudo bash -c 'echo "snd-bcm2835" >> /etc/modules'
|
|
|
|
|
|
+ # disabled for now. Force audio to go through 3.5mm jack from 'raspi-config'.
|
|
|
+ #
|
|
|
+ # ...
|
|
|
# trying to mitigate the 'first two seconds cutoff of audio' problem
|
|
|
# https://github.com/alexa-pi/AlexaPi/wiki/Devices#raspberry-pi
|
|
|
#
|
|
|
- tfn=`mktemp`
|
|
|
- echo '@reboot vcgencmd force_audio hdmi 1' > $tfn
|
|
|
-
|
|
|
- echo "adding `cat $tfn`"
|
|
|
-
|
|
|
- sudo crontab $tfn
|
|
|
- rm $tfn
|
|
|
+ #tfn=`mktemp`
|
|
|
+ #echo '@reboot vcgencmd force_audio hdmi 1' > $tfn
|
|
|
+ #echo "adding `cat $tfn`"
|
|
|
+ #sudo crontab $tfn
|
|
|
+ #rm $tfn
|
|
|
|
|
|
fi
|
|
|
|