speech: handle Headphone output too

...and generalize/de-noise the script a bit.
This commit is contained in:
Michael Shigorin 2013-11-22 21:41:33 +04:00
parent e469a19e2a
commit 326142c8f6

View File

@ -3,10 +3,10 @@
cat <<EOF > /etc/rc.d/rc.local
#!/bin/sh
amixer set Master 75%
amixer set Master toggle
amixer set PCM 75%
amixer set PCM toggle
for i in Master PCM Headphone; do
amixer set $i 75%
amixer set $i toggle
done >&/dev/null
EOF